Fix: enable event error path memory corruption
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Jan 2014 20:15:52 +0000 (15:15 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Jan 2014 20:18:21 +0000 (15:18 -0500)
commitdb686019a07b75f8d213b038821da98a0e1bf8e3
tree5d0e7f144639232efa6cd4b10eea341124b927ce
parent828c60057013a10131c79a33f3ce2e0fda2fb716
Fix: enable event error path memory corruption

The call to

  kmem_cache_free(event_cache, event);

after setting event to ERR_PTR() value is causing memory corruption
(kernel oops). This bug has been introduced very recently by commit:

  Fix: provide more precise error report for enable event

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-events.c
This page took 0.024935 seconds and 4 git commands to generate.