projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: bt_ctf_field_type_structure_add_field argument validation
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event-types.c
diff --git
a/formats/ctf/ir/event-types.c
b/formats/ctf/ir/event-types.c
index 48a2a746ad3c252fe952c746fa88dbd724c45d9a..7d01ce8b6535f1b7fa87d28329159b0242d2d1b0 100644
(file)
--- a/
formats/ctf/ir/event-types.c
+++ b/
formats/ctf/ir/event-types.c
@@
-1016,6
+1016,7
@@
int bt_ctf_field_type_structure_add_field(struct bt_ctf_field_type *type,
validate_identifier(field_name) ||
(type->declaration->id != CTF_TYPE_STRUCT) ||
bt_ctf_field_type_validate(field_type)) {
+ ret = -1;
goto end;
}
This page took
0.024719 seconds
and
4
git commands to generate.