-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Labels
Architecture: AVRApplies only to the AVR microcontrollers (Uno, etc.)Applies only to the AVR microcontrollers (Uno, etc.)Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APIComponent: FirmwareLimited to the contents of the firmwares folder in the core packagesLimited to the contents of the firmwares folder in the core packagesLibrary: WifiThe Wifi Arduino libraryThe Wifi Arduino libraryType: Bug
Description
From code inspection:.. These are incorrect calls to strncpy - using the length of the source string rather than the destination buffer...
libraries/WiFi/extras/wifiHD/src/ard_spi.c - instances of:
strncpy(keyIdx, (const char*)¶ms->param, params->paramLen);
hardware/arduino/avr/firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/COMPONENTS/WIFI/HD/wl_api.h - instances of:
strncpy(net.ssid.ssid, "My AP", strlen("My AP"));
Metadata
Metadata
Assignees
Labels
Architecture: AVRApplies only to the AVR microcontrollers (Uno, etc.)Applies only to the AVR microcontrollers (Uno, etc.)Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APIComponent: FirmwareLimited to the contents of the firmwares folder in the core packagesLimited to the contents of the firmwares folder in the core packagesLibrary: WifiThe Wifi Arduino libraryThe Wifi Arduino libraryType: Bug