Karsten Hopp 301aef
To: vim_dev@googlegroups.com
Karsten Hopp 301aef
Subject: Patch 7.4.933
Karsten Hopp 301aef
Fcc: outbox
Karsten Hopp 301aef
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 301aef
Mime-Version: 1.0
Karsten Hopp 301aef
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 301aef
Content-Transfer-Encoding: 8bit
Karsten Hopp 301aef
------------
Karsten Hopp 301aef
Karsten Hopp 301aef
Patch 7.4.933 (after 7.4.926)
Karsten Hopp 301aef
Problem:    Crash when using longest completion match.
Karsten Hopp 301aef
Solution:   Fix array index.
Karsten Hopp 301aef
Files:      src/ex_getln.c
Karsten Hopp 301aef
Karsten Hopp 301aef
Karsten Hopp 301aef
*** ../vim-7.4.932/src/ex_getln.c	2015-11-19 19:00:01.764467054 +0100
Karsten Hopp 301aef
--- src/ex_getln.c	2015-11-21 16:24:42.615966196 +0100
Karsten Hopp 301aef
***************
Karsten Hopp 301aef
*** 3704,3710 ****
Karsten Hopp 301aef
  	    }
Karsten Hopp 301aef
  	    else
Karsten Hopp 301aef
  #endif
Karsten Hopp 301aef
! 		c0 = xp->xp_files[i][len];
Karsten Hopp 301aef
  	    for (i = 1; i < xp->xp_numfiles; ++i)
Karsten Hopp 301aef
  	    {
Karsten Hopp 301aef
  #ifdef FEAT_MBYTE
Karsten Hopp 301aef
--- 3704,3710 ----
Karsten Hopp 301aef
  	    }
Karsten Hopp 301aef
  	    else
Karsten Hopp 301aef
  #endif
Karsten Hopp 301aef
! 		c0 = xp->xp_files[0][len];
Karsten Hopp 301aef
  	    for (i = 1; i < xp->xp_numfiles; ++i)
Karsten Hopp 301aef
  	    {
Karsten Hopp 301aef
  #ifdef FEAT_MBYTE
Karsten Hopp 301aef
*** ../vim-7.4.932/src/version.c	2015-11-21 14:31:29.273812116 +0100
Karsten Hopp 301aef
--- src/version.c	2015-11-21 16:27:32.042123218 +0100
Karsten Hopp 301aef
***************
Karsten Hopp 301aef
*** 743,744 ****
Karsten Hopp 301aef
--- 743,746 ----
Karsten Hopp 301aef
  {   /* Add new patch number below this line */
Karsten Hopp 301aef
+ /**/
Karsten Hopp 301aef
+     933,
Karsten Hopp 301aef
  /**/
Karsten Hopp 301aef
Karsten Hopp 301aef
-- 
Karsten Hopp 301aef
~
Karsten Hopp 301aef
~
Karsten Hopp 301aef
~
Karsten Hopp 301aef
".signature" 4 lines, 50 characters written
Karsten Hopp 301aef
Karsten Hopp 301aef
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 301aef
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 301aef
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 301aef
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///