aboutsummaryrefslogtreecommitdiff
path: root/pwd.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-03 22:50:52 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-03 22:50:52 +0000
commited5a1921810d3ce32cc66fa08f40f6a0f9d7a8fd (patch)
tree28a3e4396e8b8c69b51c793fb16198002272f894 /pwd.c
parent0427b6742d1907d9af79fd93ed021717e71e433b (diff)
downloadbusybox-w32-ed5a1921810d3ce32cc66fa08f40f6a0f9d7a8fd.tar.gz
busybox-w32-ed5a1921810d3ce32cc66fa08f40f6a0f9d7a8fd.tar.bz2
busybox-w32-ed5a1921810d3ce32cc66fa08f40f6a0f9d7a8fd.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@2233 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'pwd.c')
0 files changed, 0 insertions, 0 deletions