aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-31 15:04:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-31 15:04:45 +0000
commitab98fd6b3be57ffc5fab08b341f7dc260a736987 (patch)
treee43978a389d3bd58b98abd4c5fbff84c183d3113 /package/madwifi/patches
parenta5c1e60bcd5f1df0b1696cdcb255e4a661d351b4 (diff)
downloadupstream-ab98fd6b3be57ffc5fab08b341f7dc260a736987.tar.gz
upstream-ab98fd6b3be57ffc5fab08b341f7dc260a736987.tar.bz2
upstream-ab98fd6b3be57ffc5fab08b341f7dc260a736987.zip
madwifi: fix excessive stack usage in the wlanconfig tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16235 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/439-wlanconfig_stack_usage.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/439-wlanconfig_stack_usage.patch b/package/madwifi/patches/439-wlanconfig_stack_usage.patch
new file mode 100644
index 0000000000..dc239927fd
--- /dev/null
+++ b/package/madwifi/patches/439-wlanconfig_stack_usage.patch
@@ -0,0 +1,11 @@
+--- a/tools/wlanconfig.c
++++ b/tools/wlanconfig.c
+@@ -653,7 +653,7 @@ list_stations(const char *ifname)
+ static void
+ list_scan(const char *ifname)
+ {
+- uint8_t buf[24 * 1024];
++ static uint8_t buf[24 * 1024];
+ char ssid[14];
+ uint8_t *cp;
+ int len;