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

kernel: remove problematic pend() assertion #23000

Merged

Commits on Feb 21, 2020

  1. kernel: remove problematic pend() assertion

    This assertion, if built in, allows users threads to crash
    the kernel in a critical section by passing a negative timeout
    value, creating a DoS attack vector.
    
    Remove this assertion, immediately below it there's a check
    which just resets it to 0 anyway.
    
    Fixes: zephyrproject-rtos#22999
    
    Signed-off-by: Andrew Boie <[email protected]>
    Andrew Boie committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    c7c888b View commit details
    Browse the repository at this point in the history