Skip to content
Permalink
Browse files

wifi: increase module_arg buffer size to fix overflow

  • Loading branch information
Dazzozo committed Jan 25, 2013
1 parent ae0e83f commit fd672e4abca5c98f445d23e83cd818e3ea3ca921
Showing with 1 addition and 1 deletion.
  1. +1 −1 libhardware_legacy/wifi/wifi.c
@@ -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];

0 comments on commit fd672e4

Please sign in to comment.
You can’t perform that action at this time.