mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
madwifi: fix excessive stack usage in the wlanconfig tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16235 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a5c1e60bcd
commit
ab98fd6b3b
11
package/madwifi/patches/439-wlanconfig_stack_usage.patch
Normal file
11
package/madwifi/patches/439-wlanconfig_stack_usage.patch
Normal file
@ -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;
|
||||
Loading…
x
Reference in New Issue
Block a user