diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-03-23 23:38:43 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2019-04-11 05:36:36 +0000 |
commit | 223d66a41455033e77e8c2cbb8170eaf0217b954 (patch) | |
tree | 942da4d24ba98f1fc7d457f035a8adb05954fa7c /tests/codec/codec_test.c | |
parent | ed8e26309640f1ef9d9b17453e62e17f535b5029 (diff) |
add fsm_dealloc_test.c
Despite efforts to properly handle "GONE" events and entering a ST_DESTROYING
only once, so far this test runs straight into a heap use-after-free. With
current fsm.c, it is hard to resolve the situation with the objects named
"other" also causing deallocations besides the FSM instance parent/child
relations.
For illustration, add an "expected" test output file fsm_dealloc_test.err,
making this pass will follow in a subsequent patch.
Change-Id: If801907c541bca9f524c9e5fd22ac280ca16979a
Diffstat (limited to 'tests/codec/codec_test.c')
0 files changed, 0 insertions, 0 deletions