Commit 7712ebd
committed
Fix: Seg fault if mocked function gets called in yt_reset
This can happen for example if a SUT function is called in yt_reset
which internally calls an external (mocked) function. This mocked
function call causes a call to RECORD_CALL before the test specific
linked lists have been initialized (which happens in YT__ec_init)
causing seg fault.1 parent bc43a09 commit 7712ebd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | | - | |
1004 | 1003 | | |
| 1004 | + | |
1005 | 1005 | | |
1006 | 1006 | | |
1007 | 1007 | | |
| |||
0 commit comments