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
..
2017-10-16 21:25:41 +03:00
2017-10-10 22:42:26 +03:00
2017-03-11 07:15:44 +01:00
2017-10-09 07:18:18 +03:00
2017-09-27 16:27:44 +08:00
2017-10-01 10:27:04 +08:00
2017-10-21 09:50:43 +03:00
2017-09-29 21:17:13 +08:00