# HG changeset patch # User Bram Moolenaar # Date 1612101603 -3600 # Node ID 21a5d3aecd0e17587127e77332c2977525394c1e # Parent 0b7832548b14439e43070c5db62e146cbe0a879a patch 8.2.2438: out of bounds compiler warning Commit: https://github.com/vim/vim/commit/6a12e3342d84a1d754d793ed5019778bd60e7494 Author: Bram Moolenaar Date: Sun Jan 31 14:46:00 2021 +0100 patch 8.2.2438: out of bounds compiler warning Problem: Out of bounds compiler warning. Solution: Increase the size of uf_name. diff --git a/src/structs.h b/src/structs.h --- a/src/structs.h +++ b/src/structs.h @@ -1649,8 +1649,8 @@ typedef struct char_u *uf_name_exp; // if "uf_name[]" starts with SNR the name with // "" as a string, otherwise NULL - char_u uf_name[1]; // name of function (actually longer); can - // start with 123_ ( is K_SPECIAL + char_u uf_name[4]; // name of function (actual size equals name); + // can start with 123_ ( is K_SPECIAL // KS_EXTRA KE_SNR) } ufunc_T; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2438, +/**/ 2437, /**/ 2436,