Patch 8.1.0273
Problem:    Invalid memory access when using 'incsearch'.
Solution:   Reset "patlen" when using previous search pattern.
Files:      src/ex_getln.c


*** ../vim-8.1.0272/src/ex_getln.c      2018-08-11 16:40:39.064311995 +0200
--- src/ex_getln.c      2018-08-11 18:56:30.997198115 +0200
***************
*** 504,510 ****
--- 504,514 ----
        return FAIL;
  
      if (firstc == ccline.cmdbuff[skiplen])
+     {
        pat = last_search_pattern();
+       skiplen = 0;
+       patlen = STRLEN(pat);
+     }
      else
        pat = ccline.cmdbuff + skiplen;
  
*** ../vim-8.1.0272/src/version.c       2018-08-11 17:52:57.848311971 +0200
--- src/version.c       2018-08-11 19:01:58.394713331 +0200
***************
*** 796,797 ****
--- 796,799 ----
  {   /* Add new patch number below this line */
+ /**/
+     273,
  /**/

-- 
It is illegal for anyone to try and stop a child from playfully jumping over
puddles of water.
                [real standing law in California, United States of America]

 /// 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