Patch 8.0.0875
Problem:    Crash with weird command sequence. (Dominique Pelle)
Solution:   Use vim_snprintf() instead of STRCPY(). 
Files:      src/misc1.c


*** ../vim-8.0.0874/src/misc1.c 2017-08-03 17:53:59.296577109 +0200
--- src/misc1.c 2017-08-05 22:58:09.691408526 +0200
***************
*** 4641,4647 ****
       */
      if (buf != NULL && buf->b_help)
      {
!       STRCPY(dst, gettail(src));
        return;
      }
  
--- 4641,4647 ----
       */
      if (buf != NULL && buf->b_help)
      {
!       vim_snprintf((char *)dst, dstlen, "%s", gettail(src));
        return;
      }
  
*** ../vim-8.0.0874/src/version.c       2017-08-05 21:13:32.716908729 +0200
--- src/version.c       2017-08-05 22:50:35.898725467 +0200
***************
*** 771,772 ****
--- 771,774 ----
  {   /* Add new patch number below this line */
+ /**/
+     875,
  /**/

-- 
The war between Emacs and Vi is over.  Vi has won with 3 to 1.
http://m.linuxjournal.com/files/linuxjournal.com/linuxjournal/articles/030/3044/3044s1.html

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui