Fix: filter error path could free invalid ptr
authorDavid Goulet <dgoulet@efficios.com>
Tue, 15 Jul 2014 13:16:54 +0000 (09:16 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 15 Jul 2014 13:52:01 +0000 (09:52 -0400)
commit6cf1eedbe1a661a55f6b87cc40c8bb3dfe2abb29
treede751d07edd04bc8a931a610e1c225f8bebe8350
parent4ef4b5a2d21c914922c2f5fe09993240d2bd205f
Fix: filter error path could free invalid ptr

Also add a check for a NULL pointer when freeing the filter bytecode so
we don't deref an invalid ptr.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
src/lib/lttng-ctl/lttng-ctl.c
This page took 0.02579 seconds and 4 git commands to generate.