madwifi: fix excessive stack usage in the wlanconfig tool
SVN-Revision: 16235
This commit is contained in:
parent
5836e0fb5f
commit
664d2873c7
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…
Reference in New Issue
Block a user