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>
Mon, 7 Aug 2017 21:03:12 +0000 (17:03 -0400)
commit95a518bfe307d8a569b5e89dc5dcbed6f39a4762
tree80d681c0cff5583a696d1467a5bccb9c301ce08c
parentfa2061debad0ebf5c18598c12c58d84af4304aea
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.02454 seconds and 4 git commands to generate.