svn commit: trunk/busybox/libbb

vda at busybox.net vda at busybox.net
Sun Mar 18 00:57:16 UTC 2007


Author: vda
Date: 2007-03-17 17:57:15 -0700 (Sat, 17 Mar 2007)
New Revision: 18134

Log:
fix inadvertently leaked PWD_BUFFER_SIZE


Modified:
   trunk/busybox/libbb/lineedit.c


Changeset:
Modified: trunk/busybox/libbb/lineedit.c
===================================================================
--- trunk/busybox/libbb/lineedit.c	2007-03-17 16:38:21 UTC (rev 18133)
+++ trunk/busybox/libbb/lineedit.c	2007-03-18 00:57:15 UTC (rev 18134)
@@ -343,7 +343,7 @@
 	} else {
 		/* "~[^/]*" */
 		/* Using _r function to avoid pulling in static buffers */
-		char line_buff[PWD_BUFFER_SIZE];
+		char line_buff[256];
 		struct passwd pwd;
 		struct passwd *result;
 




More information about the busybox-cvs mailing list