|
Karsten Hopp |
051d91 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
051d91 |
Subject: Patch 7.4.714
|
|
Karsten Hopp |
051d91 |
Fcc: outbox
|
|
Karsten Hopp |
051d91 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
051d91 |
Mime-Version: 1.0
|
|
Karsten Hopp |
051d91 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
051d91 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
051d91 |
------------
|
|
Karsten Hopp |
051d91 |
|
|
Karsten Hopp |
051d91 |
Patch 7.4.714
|
|
Karsten Hopp |
051d91 |
Problem: Illegal memory access when there are illegal bytes.
|
|
Karsten Hopp |
051d91 |
Solution: Check the byte length of the character. (Dominique Pelle)
|
|
Karsten Hopp |
051d91 |
Files: src/regexp.c
|
|
Karsten Hopp |
051d91 |
|
|
Karsten Hopp |
051d91 |
|
|
Karsten Hopp |
051d91 |
*** ../vim-7.4.713/src/regexp.c 2015-04-21 14:02:28.489694393 +0200
|
|
Karsten Hopp |
051d91 |
--- src/regexp.c 2015-05-04 09:50:52.694084997 +0200
|
|
Karsten Hopp |
051d91 |
***************
|
|
Karsten Hopp |
051d91 |
*** 6113,6119 ****
|
|
Karsten Hopp |
051d91 |
{
|
|
Karsten Hopp |
051d91 |
if (ireg_ic && enc_utf8)
|
|
Karsten Hopp |
051d91 |
cf = utf_fold(utf_ptr2char(opnd));
|
|
Karsten Hopp |
051d91 |
! while (count < maxcount)
|
|
Karsten Hopp |
051d91 |
{
|
|
Karsten Hopp |
051d91 |
for (i = 0; i < len; ++i)
|
|
Karsten Hopp |
051d91 |
if (opnd[i] != scan[i])
|
|
Karsten Hopp |
051d91 |
--- 6113,6119 ----
|
|
Karsten Hopp |
051d91 |
{
|
|
Karsten Hopp |
051d91 |
if (ireg_ic && enc_utf8)
|
|
Karsten Hopp |
051d91 |
cf = utf_fold(utf_ptr2char(opnd));
|
|
Karsten Hopp |
051d91 |
! while (count < maxcount && (*mb_ptr2len)(scan) >= len)
|
|
Karsten Hopp |
051d91 |
{
|
|
Karsten Hopp |
051d91 |
for (i = 0; i < len; ++i)
|
|
Karsten Hopp |
051d91 |
if (opnd[i] != scan[i])
|
|
Karsten Hopp |
051d91 |
*** ../vim-7.4.713/src/version.c 2015-05-04 09:31:05.479605202 +0200
|
|
Karsten Hopp |
051d91 |
--- src/version.c 2015-05-04 09:51:50.917419713 +0200
|
|
Karsten Hopp |
051d91 |
***************
|
|
Karsten Hopp |
051d91 |
*** 743,744 ****
|
|
Karsten Hopp |
051d91 |
--- 743,746 ----
|
|
Karsten Hopp |
051d91 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
051d91 |
+ /**/
|
|
Karsten Hopp |
051d91 |
+ 714,
|
|
Karsten Hopp |
051d91 |
/**/
|
|
Karsten Hopp |
051d91 |
|
|
Karsten Hopp |
051d91 |
--
|
|
Karsten Hopp |
051d91 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
051d91 |
26. You check your mail. It says "no new messages." So you check it again.
|
|
Karsten Hopp |
051d91 |
|
|
Karsten Hopp |
051d91 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
051d91 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
051d91 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
051d91 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|