To: vim_dev@googlegroups.com Subject: Patch 8.2.2438 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2438 Problem: Out of bounds compiler warning. Solution: Increase the size of uf_name. Files: src/structs.h *** ../vim-8.2.2437/src/structs.h 2021-01-24 13:34:15.007739955 +0100 --- src/structs.h 2021-01-31 14:44:11.025588374 +0100 *************** *** 1649,1656 **** 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 // KS_EXTRA KE_SNR) } ufunc_T; --- 1649,1656 ---- char_u *uf_name_exp; // if "uf_name[]" starts with SNR the name with // "" as a string, otherwise NULL ! 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; *** ../vim-8.2.2437/src/version.c 2021-01-31 14:36:02.375888833 +0100 --- src/version.c 2021-01-31 14:39:19.410916538 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2438, /**/ -- Ten bugs in the hand is better than one as yet undetected. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///