From 664d2873c717dd6e3dcd891e54875d1eb0515265 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 31 May 2009 15:04:45 +0000 Subject: [PATCH] madwifi: fix excessive stack usage in the wlanconfig tool SVN-Revision: 16235 --- .../madwifi/patches/439-wlanconfig_stack_usage.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/madwifi/patches/439-wlanconfig_stack_usage.patch 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; -- 2.30.2