You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel: sched: fix possible integer overflow in z_tick_sleep()
Fix Coverity CID 529867 (CWE-190): z_tick_sleep() may return a large
tick count due to wraparound during unsigned tick subtraction.
This patch replaces unsigned subtraction with signed arithmetic to
safely handle tick count wraparound and avoid returning incorrect values
after timeout abortion.
Fixes: #92601
Signed-off-by: sudarsan N <sudarsansamy2002@gmail.com>
0 commit comments