Fix: check return value of get_char_array
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 28 Aug 2012 04:01:39 +0000 (00:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 Aug 2012 04:01:39 +0000 (00:01 -0400)
commit885885bfa41c56f7615d635d348ba7cec34b4684
tree2762fb5ff28fa10314a61d8c1841e69756c5ca4f
parent6946751f1f5ce1ed7ed5648a8e259c68f718223c
Fix: check return value of get_char_array

Arrays that are not char arrays will cause a segfault if we don't check
the return value of get_char_array before accessing the str pointer.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/events.c
This page took 0.0345 seconds and 4 git commands to generate.