Fix: Dereference null return value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 24 Jul 2017 21:26:57 +0000 (17:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Aug 2017 22:00:19 +0000 (18:00 -0400)
commitd1f0e0e31377de33b95baf5070ac95ea0cb88bba
tree4b97f1c872f589afb69c74b11cc4797f11175aeb
parentd0b55526e230847183f3515a5ae64e827eb085fb
Fix: Dereference null return value

Found by Coverity:

3. returned_null: bt_ctf_field_string_get_value returns null (checked 10
out of 12 times).

CID 1376192 (#1 of 1): Dereference null return value (NULL_RETURNS)
4. dereference: Dereferencing a pointer that might be null
bt_ctf_field_string_get_value(field) when calling print_escape_string.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/text/pretty/print.c
This page took 0.025864 seconds and 4 git commands to generate.