Patch 7.4.714
Problem:    Illegal memory access when there are illegal bytes.
Solution:   Check the byte length of the character. (Dominique Pelle)
Files:      src/regexp.c


*** ../vim-7.4.713/src/regexp.c 2015-04-21 14:02:28.489694393 +0200
--- src/regexp.c        2015-05-04 09:50:52.694084997 +0200
***************
*** 6113,6119 ****
            {
                if (ireg_ic && enc_utf8)
                    cf = utf_fold(utf_ptr2char(opnd));
!               while (count < maxcount)
                {
                    for (i = 0; i < len; ++i)
                        if (opnd[i] != scan[i])
--- 6113,6119 ----
            {
                if (ireg_ic && enc_utf8)
                    cf = utf_fold(utf_ptr2char(opnd));
!               while (count < maxcount && (*mb_ptr2len)(scan) >= len)
                {
                    for (i = 0; i < len; ++i)
                        if (opnd[i] != scan[i])
*** ../vim-7.4.713/src/version.c        2015-05-04 09:31:05.479605202 +0200
--- src/version.c       2015-05-04 09:51:50.917419713 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     714,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
26. You check your mail. It says "no new messages." So you check it again.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui