cmockery
cmockery copied to clipboard
mock_assert attempts to pass pointer via int argument to longjmp
What steps will reproduce the problem?
1. Compile and execute assert_module_test.c on LP64 platform.
2. Observe crash in setjmp.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Fix by replacing the passing of the assert expression in the longjmp argument
with passing the
expression in a member of a volatile global structure.
Original issue reported on code.google.com by [email protected] on 2 Mar 2010 at 5:48
Sorry, this is an unintentional duplicate of issue 22.
Original comment by [email protected] on 15 Mar 2010 at 2:31