aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commit664d2873c717dd6e3dcd891e54875d1eb0515265 (patch)
treeab0bff15e9870db32f618e52217dadc19b49ca56 /package/madwifi
parent5836e0fb5f9342976098c26c2b76a41322d83461 (diff)
downloadupstream-664d2873c717dd6e3dcd891e54875d1eb0515265.tar.gz
upstream-664d2873c717dd6e3dcd891e54875d1eb0515265.tar.bz2
upstream-664d2873c717dd6e3dcd891e54875d1eb0515265.zip
madwifi: fix excessive stack usage in the wlanconfig tool
SVN-Revision: 16235
Diffstat (limited to 'package/madwifi')
-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;