Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 wifi driver buffer handling #9

Open
HirokiIshiguro opened this issue Jun 24, 2019 · 0 comments
Open

ESP32 wifi driver buffer handling #9

HirokiIshiguro opened this issue Jun 24, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HirokiIshiguro
Copy link
Member

HirokiIshiguro commented Jun 24, 2019

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

  • Which hardware board or part numbers? -> RZ/A2M CPU board
  • IDE used -> e2 studio
  • Operating System [Windows|Linux|MacOS] -> xxx
  • Version of Amazon FreeRTOS (run git describe --tags to find it) -> V147
  • Project [Custom Application|MQTT|Shadow|Greengrass|OTA|Device Defender|TCP Echo|Sub pub Demo|Simple TCP Server] -> MQTT Echo
  • If your project is a Custom Application, please add the relevant code snippet in the section Code to reproduce the bug. -> N/A

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!

@HirokiIshiguro HirokiIshiguro added the bug Something isn't working label Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants