|
Karsten Hopp |
ccfa15 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ccfa15 |
Subject: Patch 7.4.903
|
|
Karsten Hopp |
ccfa15 |
Fcc: outbox
|
|
Karsten Hopp |
ccfa15 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ccfa15 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ccfa15 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ccfa15 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ccfa15 |
------------
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
Patch 7.4.903
|
|
Karsten Hopp |
ccfa15 |
Problem: MS-Windows: When 'encoding' differs from the current code page,
|
|
Karsten Hopp |
ccfa15 |
expandinig wildcards may cause illegal memory access.
|
|
Karsten Hopp |
ccfa15 |
Solution: Allocate a longer buffer. (Ken Takata)
|
|
Karsten Hopp |
ccfa15 |
Files: src/misc1.c
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
*** ../vim-7.4.902/src/misc1.c 2015-10-13 16:13:33.456731872 +0200
|
|
Karsten Hopp |
ccfa15 |
--- src/misc1.c 2015-10-31 15:27:59.450227298 +0100
|
|
Karsten Hopp |
ccfa15 |
***************
|
|
Karsten Hopp |
ccfa15 |
*** 9940,9947 ****
|
|
Karsten Hopp |
ccfa15 |
return 0;
|
|
Karsten Hopp |
ccfa15 |
}
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
! /* make room for file name */
|
|
Karsten Hopp |
ccfa15 |
! buf = alloc((int)STRLEN(path) + BASENAMELEN + 5);
|
|
Karsten Hopp |
ccfa15 |
if (buf == NULL)
|
|
Karsten Hopp |
ccfa15 |
return 0;
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
--- 9940,9948 ----
|
|
Karsten Hopp |
ccfa15 |
return 0;
|
|
Karsten Hopp |
ccfa15 |
}
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
! /* Make room for file name. When doing encoding conversion the actual
|
|
Karsten Hopp |
ccfa15 |
! * length may be quite a bit longer, thus use the maximum possible length. */
|
|
Karsten Hopp |
ccfa15 |
! buf = alloc((int)MAXPATHL);
|
|
Karsten Hopp |
ccfa15 |
if (buf == NULL)
|
|
Karsten Hopp |
ccfa15 |
return 0;
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
*** ../vim-7.4.902/src/version.c 2015-10-30 16:46:50.504694378 +0100
|
|
Karsten Hopp |
ccfa15 |
--- src/version.c 2015-10-31 15:31:15.079927177 +0100
|
|
Karsten Hopp |
ccfa15 |
***************
|
|
Karsten Hopp |
ccfa15 |
*** 743,744 ****
|
|
Karsten Hopp |
ccfa15 |
--- 743,746 ----
|
|
Karsten Hopp |
ccfa15 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ccfa15 |
+ /**/
|
|
Karsten Hopp |
ccfa15 |
+ 903,
|
|
Karsten Hopp |
ccfa15 |
/**/
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
--
|
|
Karsten Hopp |
ccfa15 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
ccfa15 |
65. The last time you looked at the clock it was 11:30pm, and in what
|
|
Karsten Hopp |
ccfa15 |
seems like only a few seconds later, your sister runs past you to
|
|
Karsten Hopp |
ccfa15 |
catch her 7am school bus.
|
|
Karsten Hopp |
ccfa15 |
|
|
Karsten Hopp |
ccfa15 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ccfa15 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ccfa15 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ccfa15 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|