Fix: bt_ctf_field_type_structure_add_field argument validation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Jul 2014 20:55:36 +0000 (16:55 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Jul 2014 22:03:07 +0000 (18:03 -0400)
commit35628ac71c433580daba71470a5d877f46c5c652
treee30ff225fcb4a9086a509957e6bcfae2a854d86d
parent8d88132e5cd9c72c762a63b444feebaa020f391f
Fix: bt_ctf_field_type_structure_add_field argument validation

bt_ctf_field_type_structure_add_field is not setting the return
value to a negative value if the parameter validation fails. The
function would abort while appearing to have succeeded.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/writer/event-types.c
tests/lib/test_ctf_writer.c
This page took 0.024061 seconds and 4 git commands to generate.