Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wifi: increase module_arg buffer size to fix overflow
  • Loading branch information
Daz Jones committed Jan 25, 2013
1 parent ae0e83f commit fd672e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhardware_legacy/wifi/wifi.c
Expand Up @@ -290,7 +290,7 @@ int wifi_load_driver()
#ifdef WIFI_DRIVER_MODULE_PATH
char driver_status[PROPERTY_VALUE_MAX];
int count = 100; /* wait at most 20 seconds for completion */
char module_arg[PROPERTY_VALUE_MAX];
char module_arg[256];
char module_mac_param[PROPERTY_VALUE_MAX];
char module_arg2[256];

Expand Down

0 comments on commit fd672e4

Please sign in to comment.