commit | a0737e687cff8600d87f95f3daa2861fc0b13529 | [log] [tgz] |
---|---|---|
author | David Leach <david.leach@nxp.com> | Thu Feb 17 00:21:20 2022 -0600 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Feb 21 20:43:47 2022 -0500 |
tree | bba74cd9da4f1d682e1ff6554d8d1c53dcf4aeec | |
parent | 4120a889a493b554897d1e60a5fa6d8c137ee697 [diff] |
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: David Leach <david.leach@nxp.com>