1 diff -urN busybox-1.4.1/networking/wget.c busybox-1.4.1-wgetSEGV/networking/wget.c
2 --- busybox-1.4.1/networking/wget.c 2007-01-24 22:34:34.000000000 +0100
3 +++ busybox-1.4.1-wgetSEGV/networking/wget.c 2007-02-11 17:21:18.000000000 +0100
5 p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p;
6 p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p;
9 + /* must be writable because of bb_get_last_path_component() */
10 + static char nullstr[] = "";
12 } else if (*sp == '/') {