|
Karsten Hopp |
67a9cf |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
67a9cf |
Subject: Patch 7.3.243
|
|
Karsten Hopp |
67a9cf |
Fcc: outbox
|
|
Karsten Hopp |
67a9cf |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
67a9cf |
Mime-Version: 1.0
|
|
Karsten Hopp |
67a9cf |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
67a9cf |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
67a9cf |
------------
|
|
Karsten Hopp |
67a9cf |
|
|
Karsten Hopp |
67a9cf |
Patch 7.3.243
|
|
Karsten Hopp |
67a9cf |
Problem: Illegal memory access in readline().
|
|
Karsten Hopp |
67a9cf |
Solution: Swap the conditions. (Dominique Pelle)
|
|
Karsten Hopp |
67a9cf |
Files: src/eval.c
|
|
Karsten Hopp |
67a9cf |
|
|
Karsten Hopp |
67a9cf |
|
|
Karsten Hopp |
67a9cf |
*** ../vim-7.3.242/src/eval.c 2011-07-07 16:20:45.000000000 +0200
|
|
Karsten Hopp |
67a9cf |
--- src/eval.c 2011-07-07 17:32:16.000000000 +0200
|
|
Karsten Hopp |
67a9cf |
***************
|
|
Karsten Hopp |
67a9cf |
*** 14318,14324 ****
|
|
Karsten Hopp |
67a9cf |
tolist = 0;
|
|
Karsten Hopp |
67a9cf |
for ( ; filtd < buflen || readlen <= 0; ++filtd)
|
|
Karsten Hopp |
67a9cf |
{
|
|
Karsten Hopp |
67a9cf |
! if (buf[filtd] == '\n' || readlen <= 0)
|
|
Karsten Hopp |
67a9cf |
{
|
|
Karsten Hopp |
67a9cf |
/* In binary mode add an empty list item when the last
|
|
Karsten Hopp |
67a9cf |
* non-empty line ends in a '\n'. */
|
|
Karsten Hopp |
67a9cf |
--- 14318,14324 ----
|
|
Karsten Hopp |
67a9cf |
tolist = 0;
|
|
Karsten Hopp |
67a9cf |
for ( ; filtd < buflen || readlen <= 0; ++filtd)
|
|
Karsten Hopp |
67a9cf |
{
|
|
Karsten Hopp |
67a9cf |
! if (readlen <= 0 || buf[filtd] == '\n')
|
|
Karsten Hopp |
67a9cf |
{
|
|
Karsten Hopp |
67a9cf |
/* In binary mode add an empty list item when the last
|
|
Karsten Hopp |
67a9cf |
* non-empty line ends in a '\n'. */
|
|
Karsten Hopp |
67a9cf |
*** ../vim-7.3.242/src/version.c 2011-07-07 17:15:29.000000000 +0200
|
|
Karsten Hopp |
67a9cf |
--- src/version.c 2011-07-07 17:32:30.000000000 +0200
|
|
Karsten Hopp |
67a9cf |
***************
|
|
Karsten Hopp |
67a9cf |
*** 711,712 ****
|
|
Karsten Hopp |
67a9cf |
--- 711,714 ----
|
|
Karsten Hopp |
67a9cf |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
67a9cf |
+ /**/
|
|
Karsten Hopp |
67a9cf |
+ 243,
|
|
Karsten Hopp |
67a9cf |
/**/
|
|
Karsten Hopp |
67a9cf |
|
|
Karsten Hopp |
67a9cf |
--
|
|
Karsten Hopp |
67a9cf |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
67a9cf |
261. You find diskettes in your pockets when doing laundry.
|
|
Karsten Hopp |
67a9cf |
|
|
Karsten Hopp |
67a9cf |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
67a9cf |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
67a9cf |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
67a9cf |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|