From: Felix Fietkau Date: Sun, 12 Jul 2009 00:00:51 +0000 (+0000) Subject: madwifi: fix another instance of excessive stack usage in wlanconfig X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bcbdd2a425f2849a15547671e98f01ae967bd78f;p=openwrt%2Fstaging%2Flinusw.git madwifi: fix another instance of excessive stack usage in wlanconfig SVN-Revision: 16788 --- 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)