arduino-libraries / ArduinoMDNS

mDNS Library for Arduino
40 stars 13 forks source link

MDNS is not safe against malformed or short packets #45

Open matthewgream opened 1 month ago

matthewgream commented 1 month ago

The buffer is allocated according to the size of the packet:

https://github.com/arduino-libraries/ArduinoMDNS/blob/00ed2b61b1bfcc602bf26a4dd2be2b176aa1241d/MDNS.cpp#L532