-
-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Description
I have been using CMock for a while, and sometimes CMock could cause segmentation fault or accidentally mess up the memory of local variables. This problem disappears if all the variables needed are defined globally.
Another issue is that CMock_verify() and CMock_init() can cause segmentation fault. Please take a look at this PR, I built the test runner manually, if I add one more resetTest() below the last line of bpf/tests/nat_test.h:test_snat_v4_process, that resetTest() will cause segmentation fault.
Metadata
Metadata
Assignees
Labels
No labels