cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.51k stars 429 forks source link

add validation before configuring the socket in debug_udp_init #483

Open rtrue983 opened 5 years ago

rtrue983 commented 5 years ago

debug_udp_init stops our system from booting if a corrupt udp logger address is configured. Causes a hard fault on startup which continuously reboots the device

Seems like an error should be reported if the log doesn't work... not a hard fault / boot loop since every other system is likely operational