Open HirokiIshiguro opened 5 years ago
Describe the bug Wrong behavior exists in esp8266_driver_2.c esp8266_recv_task() case3 when receiving authentication handshake 5KB data. recvbuff[recv_count] overflow exists.
System information
git describe --tags
Code to reproduce the bug
Expected behavior With no wrong behavior.
Screenshots or console output N/A
To reproduce N/A
Code to reproduce the bug The code should be wrapped in the cpp tag in order to be displayed clearly. For example:
esp8266_driver_2.c: L91
if (recv_count < (sizeof(recvbuff) - 2)) { recv_count++; }
If the code is longer than 30 lines, GIST is preferred.
Additional context N/A
Thank you!
Describe the bug Wrong behavior exists in esp8266_driver_2.c esp8266_recv_task() case3 when receiving authentication handshake 5KB data. recvbuff[recv_count] overflow exists.
System information
git describe --tags
to find it) -> V147Code to reproduce the bug
. -> N/AExpected behavior With no wrong behavior.
Screenshots or console output N/A
To reproduce N/A
Code to reproduce the bug The code should be wrapped in the cpp tag in order to be displayed clearly. For example:
esp8266_driver_2.c: L91
If the code is longer than 30 lines, GIST is preferred.
Additional context N/A
Thank you!