diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-12 00:00:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-12 00:00:51 +0000 |
commit | 8f39da8bed5761cc6314da9b284eae029e1ebb66 (patch) | |
tree | 7a90c71f19c55a0c64b0e14b8631ff6455fa25c9 /package | |
parent | 09287c581e879b3c70c50161a316d154221858ee (diff) | |
download | upstream-8f39da8bed5761cc6314da9b284eae029e1ebb66.tar.gz upstream-8f39da8bed5761cc6314da9b284eae029e1ebb66.tar.bz2 upstream-8f39da8bed5761cc6314da9b284eae029e1ebb66.zip |
madwifi: fix another instance of excessive stack usage in wlanconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16788 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/patches/439-wlanconfig_stack_usage.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/madwifi/patches/439-wlanconfig_stack_usage.patch b/package/madwifi/patches/439-wlanconfig_stack_usage.patch index dc239927fd..f346143c3f 100644 --- a/package/madwifi/patches/439-wlanconfig_stack_usage.patch +++ b/package/madwifi/patches/439-wlanconfig_stack_usage.patch @@ -1,5 +1,14 @@ --- a/tools/wlanconfig.c +++ b/tools/wlanconfig.c +@@ -560,7 +560,7 @@ ieee80211_ntoa(const uint8_t mac[IEEE802 + static void + list_stations(const char *ifname) + { +- uint8_t buf[24*1024]; ++ static uint8_t buf[24*1024]; + struct iwreq iwr; + uint8_t *cp; + int s, len; @@ -653,7 +653,7 @@ list_stations(const char *ifname) static void list_scan(const char *ifname) |