lib: add missing MIP checks in bit array flag functions
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 22 Oct 2024 20:18:30 +0000 (16:18 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 4 Nov 2024 16:17:44 +0000 (11:17 -0500)
commitc52941f11843997d8c1679442d517c28db4aa153
tree25f14fffbc2595ecc8af2a64762f2ec88f3fbf70
parentd65c57ea907e8e547f0b834fed45a559885316d7
lib: add missing MIP checks in bit array flag functions

Add some MIP checks, it seems like an oversight that these functions
don't have them.

I think that functions `bt_field_class_bit_array_flag_get_label()` and
`bt_field_class_bit_array_flag_borrow_index_ranges_const()` don't need
such checks, because it's not possible to get hold of a
`bt_field_class_bit_array_flag *` without going through function that
has the appropriate MIP check before.

Change-Id: I0848f414772aa7bf6c252d8e81ed60b20ccce14a
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13397
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/lib/trace-ir/field-class.c
This page took 0.024235 seconds and 4 git commands to generate.