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
Added checks for xIndex in ThreadLocalStorage APIs
It was possible for a third party that already independently gained the
ability to execute injected code to read from or write to arbitrary
addresses by passing a negative argument as the xIndex parameter to
pvTaskGetThreadLocalStoragePointer() or
vTaskSetThreadLocalStoragePointer respectively.
This commit adds checks to ensure that passing a negative argument as
the xIndex parameter does not cause arbitrary read or write.
We thank Certibit Consulting, LLC for reporting this issue.
Signed-off-by: Gaurav Aggarwal <[email protected]>
0 commit comments