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
                                // "<SNR>" as a string, otherwise NULL
!     char_u    uf_name[1];     // name of function (actually longer); can
!                               // start with <SNR>123_ (<SNR> 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
                                // "<SNR>" as a string, otherwise NULL
!     char_u    uf_name[4];     // name of function (actual size equals name);
!                               // can start with <SNR>123_ (<SNR> 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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202101311346.10VDkWn6958501%40masaka.moolenaar.net.

Raspunde prin e-mail lui