Fix tests: NULL pointer dereference in ltt_session unit tests
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Apr 2019 20:46:35 +0000 (16:46 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Apr 2019 21:05:58 +0000 (17:05 -0400)
commitacd4994ea8be231df5caecefd580bad358ce16e5
treefd3a4dc61ca1138c3263147c0de2ad8aea01934c
parent30b66335dc3656fc79129b9e7dfe1cf13ae578e1
Fix tests: NULL pointer dereference in ltt_session unit tests

Skip the session destruction test if the target session is not
found. Otherwise, a NULL pointer dereference will occur.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/test_session.c
This page took 0.02601 seconds and 5 git commands to generate.