BusyBox http daemon seems to overlay memory on cgi requests
Peter Kuennemann@itb
itb.pkue at googlemail.com
Tue Nov 15 10:04:06 UTC 2011
Hi all,
I got completely stuck with a coreoverlay problem using busybox httpd
on a uClinux coldfire system (LANTRONIX XportPro). This a NOMMU box
I am running busybox v1.19.3 but the very same problem appeared as with
1.13.3
The problem manifests in a overlay of the command name in the task list (ps)
after having executed a cgi-script the first time. The first char of the command
line get overlayed by 0xE8.
1. Before cgi script: 52 root 511 S {busybox} httpd -h /usr/local/nero/www/
2. After cgi script 52 root 511 S {busybox} ?ttpd -h /usr/local/nero/www/
Question mark is 0xE8
I also get 'memory allocation failed' after executing a CGI program a number
of times. The test script beeing executed is:
--------------------------- CGI Script -----------------------------
#!/bin/sh
echo "Content-type: text/html"
echo ""
cat /usr/local/nero/www/cgi-bin/f1
cat <<EOM
Some extra Text to test cat here
----------- End of extra text --------------
EOM
env
cat /usr/local/nero/www/cgi-bin/f2
---------------------END CGI Script -----------------------------
Any help woud be very much appreciated,
Regards, Peter
More information about the busybox
mailing list