Skip to content
Commit a0737e68 authored by David Leach's avatar David Leach Committed by Anas Nashif
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>
parent 4120a889
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment