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 21:26:30 +0000 (17:26 -0400)
commite6235f1fd983de6cd80951f0ed179894839d6ac9
treeaa6baee281f718f06e21a25007dbb5d53ea69bfb
parent5805251d80794af957cab5a72e4cc39b5e79c4f7
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/ir/event-types.c
tests/lib/test_ctf_writer.c
This page took 0.024345 seconds and 4 git commands to generate.