[BusyBox] wget or safe_strtoul() bug in 1.00-pre9

Glenn McGrath bug1 at iinet.net.au
Mon Apr 12 11:34:52 UTC 2004


On Mon, 12 Apr 2004 18:21:51 +0800
Yang Xiaopeng <yxp at hanwang.com.cn> wrote:

> wget calls safe_strtoul() to convert string to unsigned long integer,
> when the string end with '\n', safe_strtoul() return error, cause wget
> exit.

I think this is the same bug i fixed in wget.c, see.

http://www.busybox.net/cgi-bin/cvsweb/busybox/networking/wget.c?r1=1.72&r2=1.73



Glenn



More information about the busybox mailing list