cwalter-at / freemodbus

BSD licensed MODBUS RTU/ASCII and TCP slave
768 stars 393 forks source link

A buffer overflow bug that can lead freemodbus server to crash #44

Open CAPCOMIN opened 6 months ago

CAPCOMIN commented 6 months ago

Hi, I found this bug which leads demo/LINUXTCP to crash while conducting fuzzing experiment. The cause of this bug may be similar to https://github.com/cwalter-at/freemodbus/issues/34.

The log information of message which lead server to crash: modbusbug1.txt

The ASAN information: image