r490 - in trunk/vim: debian upstream/patches

James Vega jamessan at costa.debian.org
Wed Feb 8 11:55:18 UTC 2006


Author: jamessan
Date: 2006-02-08 11:55:18 +0000 (Wed, 08 Feb 2006)
New Revision: 490

Added:
   trunk/vim/upstream/patches/6.4.007
Modified:
   trunk/vim/debian/README
Log:
New upstream patch


Modified: trunk/vim/debian/README
===================================================================
--- trunk/vim/debian/README	2006-02-05 16:30:26 UTC (rev 489)
+++ trunk/vim/debian/README	2006-02-08 11:55:18 UTC (rev 490)
@@ -31,3 +31,4 @@
   1581  6.4.004  "go" doesn't work correctly when 'virtualedit' is set
   1577  6.4.005  truncating message may write before buffer
   2320  6.4.006  ":argedit", "argdel" and ":argadd" used count argument
+  1717  6.4.007  Unix: crash when expanding backticks

Added: trunk/vim/upstream/patches/6.4.007
===================================================================
--- trunk/vim/upstream/patches/6.4.007	2006-02-05 16:30:26 UTC (rev 489)
+++ trunk/vim/upstream/patches/6.4.007	2006-02-08 11:55:18 UTC (rev 490)
@@ -0,0 +1,54 @@
+To: vim-dev at vim.org
+Subject: Patch 6.4.007
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.4.007
+Problem:    Crash when expanding a file name argument in backticks. (Adri
+	    Verhoef)
+Solution:   Check for the NUL after the expansion result.
+Files:	    src/os_unix.c
+
+
+*** ../vim-6.4.006/src/os_unix.c	Sat Oct  8 16:39:10 2005
+--- src/os_unix.c	Thu Feb  2 12:48:28 2006
+***************
+*** 5051,5057 ****
+  	/* Space or NL separates */
+  	if (shell_style == STYLE_ECHO || shell_style == STYLE_BT)
+  	{
+! 	    while (!(shell_style == STYLE_ECHO && *p == ' ') && *p != '\n')
+  		++p;
+  	    if (p == buffer + len)		/* last entry */
+  		*p = NUL;
+--- 5051,5058 ----
+  	/* Space or NL separates */
+  	if (shell_style == STYLE_ECHO || shell_style == STYLE_BT)
+  	{
+! 	    while (!(shell_style == STYLE_ECHO && *p == ' ')
+! 						   && *p != '\n' && *p != NUL)
+  		++p;
+  	    if (p == buffer + len)		/* last entry */
+  		*p = NUL;
+*** ../vim-6.4.006/src/version.c	Thu Dec 22 22:39:11 2005
+--- src/version.c	Wed Feb  8 11:10:30 2006
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     7,
+  /**/
+
+-- 
+"My particular problem is with registry entries, which seem to just accumulate
+like plastic coffee cups..."           -- Paul Moore
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://www.ICCF.nl         ///




More information about the pkg-vim-maintainers mailing list