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

tcpopt_len_check will stop the stack when option length is 0 #506

Open
chenzch opened this issue Mar 25, 2020 · 1 comment
Open

tcpopt_len_check will stop the stack when option length is 0 #506

chenzch opened this issue Mar 25, 2020 · 1 comment

Comments

@chenzch
Copy link

chenzch commented Mar 25, 2020

In pico_tcp.c tcp_parse_option_* functions call tcpopt_len_check. If the len ( the length of option ) is 0, tcpopt_len_check makes the index ( i ) roll back. The loop in tcp_parse_options will not jump out.

@maximevince
Copy link
Contributor

Hi @chenzch ,

I invite you to move to the maintained fork of picoTCP at https://gitlab.com/insane-adding-machines/picotcp/
Please re-file the bug there, if it's still applicable.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants