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 | ab98fd6b3be57ffc5fab08b341f7dc260a736987 (patch) | |
tree | e43978a389d3bd58b98abd4c5fbff84c183d3113 /package/madwifi/patches | |
parent | a5c1e60bcd5f1df0b1696cdcb255e4a661d351b4 (diff) | |
download | upstream-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.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; |