Skip to content
Commit 896e32b4 authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

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: #22999

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 2be22c04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment