summaryrefslogtreecommitdiff
path: root/package/busybox/patches/150-wget_segv_fix.patch
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-10 08:01:55 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-10 08:01:55 +0000
commit7a5c6744213c2db8419b4ce5f8c76afce3501479 (patch)
treea446379780ec5f789b1d5ab0bc2beb6960ecad85 /package/busybox/patches/150-wget_segv_fix.patch
parentd4451582d7ae78dbf0fd5ea41cc1a116afaf16bf (diff)
update to busybox 1.4.2 (fixes #1653)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7157 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/150-wget_segv_fix.patch')
-rw-r--r--package/busybox/patches/150-wget_segv_fix.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/package/busybox/patches/150-wget_segv_fix.patch b/package/busybox/patches/150-wget_segv_fix.patch
deleted file mode 100644
index 8375cc79cd..0000000000
--- a/package/busybox/patches/150-wget_segv_fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urN busybox-1.4.1/networking/wget.c busybox-1.4.1-wgetSEGV/networking/wget.c
---- busybox-1.4.1/networking/wget.c 2007-01-24 22:34:34.000000000 +0100
-+++ busybox-1.4.1-wgetSEGV/networking/wget.c 2007-02-11 17:21:18.000000000 +0100
-@@ -543,7 +543,9 @@
- p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p;
- p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p;
- if (!sp) {
-- h->path = "";
-+ /* must be writable because of bb_get_last_path_component() */
-+ static char nullstr[] = "";
-+ h->path = nullstr;
- } else if (*sp == '/') {
- *sp = '\0';
- h->path = sp + 1;