-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Two bugs may lead to NULL dereference. #15006
Comments
In sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c: |
@bergzand can you check the one targeting |
@cgundogan can you take a look at the rpl issue? |
Thanks for the catch @tluio, how did you come across these bugs, did you use some kind of vulnerability scanner? |
It's my pleasure! Yes, I used a static code analysis tool written by myself. |
@tluio Must be quite an impressive tool, seeing that you've managed to find 3 obscure bugs in RIOT, and some more in Zephyr and some other repos in only a few days time! |
Thanks for your interest! |
Sounds like a tool you may want to present on an important conference. ;) Blackhat, Chaos Communication Congress or something similar. |
sys/pipe/pipe_dynamic.c
If malloc returns NULL on line 41, the variable m_pipe will be NULL, but the pointer to m_pipe->pipe is returned on line 46.
drivers/usbdev_mock/usbdev_mock.c
The variable res is checked on line 88 which indicates that it can be NULL, but the pointer to res->ep is returned on line 97.
The text was updated successfully, but these errors were encountered: