arduino-esp32/libraries/ArduinoOTA
davruet 126674c3b6 Fixes for zero length packet bug, buffer overflow in parseInt(), added end() method (#757)
* ArduinoOTA would stop receiving any packets if the port received a zero-length UDP packet, commonly sent by network scanners like nmap. Fixed to flush() after every call to parsePacket(), even if read length is 0.

Additionally, added length checking to fix a potential buffer overflow in parseInt().

Finally, added an end() method that stops the OTA listener and releases resources.

* Only end MDNS in end() if mdns mode is enabled.
2017-10-30 10:44:15 +01:00
..
examples/BasicOTA Add Ota and mdns (#257) 2017-03-11 07:15:44 +01:00
src Fixes for zero length packet bug, buffer overflow in parseInt(), added end() method (#757) 2017-10-30 10:44:15 +01:00
keywords.txt Add Ota and mdns (#257) 2017-03-11 07:15:44 +01:00
library.properties Add Ota and mdns (#257) 2017-03-11 07:15:44 +01:00