find / rm corrupting memory

Roy Marples roy at marples.name
Mon Jan 28 11:11:53 UTC 2008


On Sun, 2008-01-27 at 22:05 +0000, Denis Vlasenko wrote:
> On Saturday 26 January 2008 07:19, Roy Marples wrote:
> > 
> > On Fri, 2008-01-25 at 22:55 +0000, Denis Vlasenko wrote:
> > > Can you post your .config?
> > 
> > Attached.
> 
> Aha. CONFIG_FEATURE_PREFER_APPLETS=y!
> 
> Can you test something for me? Go to
> libbb/vfork_daemon_rexec.c and add getopt reset code
> (indicated by '+'):

Right idea, but wrong place.
It's needed in getopt32.c
Patch as attached.

Thanks

Roy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-getopt.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080128/19df0b70/attachment-0002.bin 


More information about the busybox mailing list