[BusyBox-cvs] cvs commit to busybox/libbb by andersen
andersen at busybox.net
andersen at busybox.net
Tue Apr 3 22:50:52 UTC 2001
Repository: busybox/libbb
who: andersen
time: Tue Apr 3 16:50:52 MDT 2001
Log Message:
if strlen(s) was 0, it would then end up using s[-1] as an array index. Bad,
bad, bad. This was crashing the shell on powerpc boxes, though all other archs
seem to have a much more forgiving malloc implementations. I finally found
this bug using electric-fence on a powerpc box.
-Erik
Files:
changed: trim.c
More information about the busybox-cvs
mailing list