Please sign in to comment.
testsuite: fix memory access
Depending on optimization level, the TC_RESULT_STR array could actually be placed in memory instead of being expanded at compile time, resulting in memory access errors from user mode. Just replace TC_RESULT_TO_STR() with an inline function containing a switch statement instead. Signed-off-by: Andrew Boie <firstname.lastname@example.org>
- Loading branch information...