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

Fix possible integer overflow in CoAP #24435

Merged
merged 2 commits into from
Apr 20, 2020
Merged

Conversation

ceolin
Copy link
Member

@ceolin ceolin commented Apr 17, 2020

Adding checks when parsing a coap packet to avoid overflows.

Flavio Ceolin added 2 commits April 16, 2020 22:58
Add functions to addition and multiplication for u16_t.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
Fix possible integer overflow when parsing a CoAP packet.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
@ceolin ceolin requested a review from d3zd3z April 17, 2020 06:03
@ceolin ceolin added the bug The issue is a bug, or the PR is fixing a bug label Apr 17, 2020
@zephyrbot zephyrbot added area: Networking area: API Changes to public APIs labels Apr 17, 2020
@jukkar jukkar merged commit e6204a9 into zephyrproject-rtos:master Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs area: Networking bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants