Fix: trace-collection: trace clock use after free
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 5 Dec 2019 06:58:05 +0000 (01:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Dec 2019 01:02:17 +0000 (20:02 -0500)
commit753d927360965c716b1a07d6760e8f6d6780c749
tree4000f4fb65bfc1911bdc2915be659a0562fa38a2
parenta4e7565e5f77f914eab073310895a73096276907
Fix: trace-collection: trace clock use after free

The trace collection should copy the trace clock object rather
than take a reference to the first trace's trace clock, because
it may be freed when the trace is removed (e.g. application going
away in per-pid live tracing).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/trace-collection.c
This page took 0.026921 seconds and 4 git commands to generate.