Fix: use-after-free in UST test case
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 28 Aug 2018 19:38:22 +0000 (15:38 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 21:32:45 +0000 (17:32 -0400)
commit4b6816b623b0c50e78e2e63716f5b3b537c3302f
tree1653105aa4193913575d89897d4400b08cdf7dd4
parentebbcac93ae32a4264d3355c2202034e78db703a0
Fix: use-after-free in UST test case

Create a copy of the exclusion structure to be able to compare both
struct after the event is created.

Reported-by: Coverity (1395194) Read from pointer after free
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/test_ust_data.c
This page took 0.025756 seconds and 5 git commands to generate.