components/vim/patches/7031620.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 820 60113d90e478
permissions -rw-r--r--
Close of build 04.

--- src/os_unix.c	Tue May  1 09:52:21 2012
+++ src/os_unix.c	Tue May  1 09:52:24 2012
@@ -2509,7 +2509,7 @@
 	}
 
 	l = STRLEN(buf);
-	if (l >= len)
+	if (l >= len - 1)
 	    retval = FAIL;
 #ifndef VMS
 	else