forked from aniani/vim
patch 8.2.2438: out of bounds compiler warning
Problem: Out of bounds compiler warning. Solution: Increase the size of uf_name.
This commit is contained in:
@@ -1649,8 +1649,8 @@ typedef struct
|
|||||||
|
|
||||||
char_u *uf_name_exp; // if "uf_name[]" starts with SNR the name with
|
char_u *uf_name_exp; // if "uf_name[]" starts with SNR the name with
|
||||||
// "<SNR>" as a string, otherwise NULL
|
// "<SNR>" as a string, otherwise NULL
|
||||||
char_u uf_name[1]; // name of function (actually longer); can
|
char_u uf_name[4]; // name of function (actual size equals name);
|
||||||
// start with <SNR>123_ (<SNR> is K_SPECIAL
|
// can start with <SNR>123_ (<SNR> is K_SPECIAL
|
||||||
// KS_EXTRA KE_SNR)
|
// KS_EXTRA KE_SNR)
|
||||||
} ufunc_T;
|
} ufunc_T;
|
||||||
|
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2438,
|
||||||
/**/
|
/**/
|
||||||
2437,
|
2437,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user