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:15:52 +0000 (15:15 -0500)
commit4cf0bf51a7ecb8d6fe43657bb3d8e83586631c67
tree31d3a3e3b29f6f043a472ac67107472786cf8337
parent0d019e70c4c0acccbaed913487c4f0ce96aeda17
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.026544 seconds and 4 git commands to generate.