diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-11-24 22:13:19 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-11-24 22:13:19 +0000 |
commit | feb155b6585e8e5778f7a4e7a1aa8fb22cc2f934 (patch) | |
tree | c193dbcc9c04a3a4dee3d47a707a98e7d93ff8a0 /package/busybox/patches | |
parent | 73f764c59d9dad129f700affb6ca62b0635e6d54 (diff) | |
download | master-187ad058-feb155b6585e8e5778f7a4e7a1aa8fb22cc2f934.tar.gz master-187ad058-feb155b6585e8e5778f7a4e7a1aa8fb22cc2f934.tar.bz2 master-187ad058-feb155b6585e8e5778f7a4e7a1aa8fb22cc2f934.zip |
[package] prevent busybox's ping6 from crashing (#4604)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18528 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches')
-rw-r--r-- | package/busybox/patches/500-ping6_crash.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/500-ping6_crash.patch b/package/busybox/patches/500-ping6_crash.patch new file mode 100644 index 0000000000..8412a18ac1 --- /dev/null +++ b/package/busybox/patches/500-ping6_crash.patch @@ -0,0 +1,12 @@ +Index: busybox-1.15.2/networking/ping.c +=================================================================== +--- busybox-1.15.2.orig/networking/ping.c 2009-11-24 22:57:29.000000000 +0100 ++++ busybox-1.15.2/networking/ping.c 2009-11-24 22:58:58.000000000 +0100 +@@ -769,6 +769,7 @@ + int ping6_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; + int ping6_main(int argc UNUSED_PARAM, char **argv) + { ++ argv[-1] = argv[0]; + argv[0] = (char*)"-6"; + return ping_main(0 /* argc+1 - but it's unused anyway */, + argv - 1); |