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

ofp crash when processing fragment IP packet #264

Closed
QinLongFei opened this issue Mar 16, 2021 · 2 comments
Closed

ofp crash when processing fragment IP packet #264

QinLongFei opened this issue Mar 16, 2021 · 2 comments

Comments

@QinLongFei
Copy link

OFP has bad behaviour when processing fragment IP packet. There is a double free for odp_packet_t.

After debuging, If found the first free happened on ofp_ip_reass .

image

And the second free happened again on ofp_packet_input.
image

Any one has similar issue?

@bogdanPricope
Copy link
Contributor

No idea, yet, I may have a different code version.
Is it the last received fragment of the packet?
Is always reproducible?

@QinLongFei
Copy link
Author

This crash was fixed with this patch.
51312a3#diff-9cb1f59bdc721588e2da052358670e3bdc6b911f3ea66ce422f3d62bc4c3e025

Close it.
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