diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-31 15:04:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-31 15:04:45 +0000 |
commit | 664d2873c717dd6e3dcd891e54875d1eb0515265 (patch) | |
tree | ab0bff15e9870db32f618e52217dadc19b49ca56 /package/madwifi/patches | |
parent | 5836e0fb5f9342976098c26c2b76a41322d83461 (diff) | |
download | upstream-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/patches')
-rw-r--r-- | package/madwifi/patches/439-wlanconfig_stack_usage.patch | 11 |
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; |