Skip to content
Commit d05c3bdf authored by David Leach's avatar David Leach Committed by Christopher Friedt
Browse files

tests: mem_protect: avoid allocating K_OBJ_MSGQ in userspace.



The K_OBJ_MSGQ object is unitialized so when the thread cleanup occurs
after an expected fault for invalid access the test case can randomly
fault again because the cleanup of the thread will sometimes attempt
to free invalid buffer_start pointer in the msgq object.

Fixes #42705

Signed-off-by: default avatarDavid Leach <david.leach@nxp.com>
(cherry picked from commit a0737e68)
parent 3ab0c951
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment