On Wed, 2008-08-13 at 18:22 -0700, Cristian Cadar wrote: > http://bugs.busybox.net/view.php?id=4584 > > ./install --m > > reads processes uninitialized memory (mode_str) in bb_parse_mode(), > called at install.c:134. > > I think the fix is simply to specify that "mode" has a required argument > at install.c:21 > > --Cristian
Please try the attched patch. Thanks! -nc
Index: coreutils/install.c =================================================================== --- coreutils/install.c (revision 23082) +++ coreutils/install.c (working copy) @@ -17,9 +17,9 @@ "directory\0" No_argument "d" "preserve-timestamps\0" No_argument "p" "strip\0" No_argument "s" - "group\0" No_argument "g" - "mode\0" No_argument "m" - "owner\0" No_argument "o" + "group\0" Required_argument "g" + "mode\0" Required_argument "m" + "owner\0" Required_argument "o" /* autofs build insists of using -b --suffix=.orig */ /* TODO? (short option for --suffix is -S) */ #if ENABLE_SELINUX
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
