diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2022-12-27 12:10:03 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2022-12-27 12:10:03 +0000 |
commit | 5bbe533244c7bd62059409e5ecb7a68f617654bb (patch) | |
tree | 55b615ea0c98b825cc92b6972f4ef13752832afa /epan/proto.c | |
parent | b19bed43d19207355520b360cb7e7ed41a7b68c2 (diff) |
WIP: Check types for _add_bits_ functions, and ensure no mask
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/proto.c b/epan/proto.c index 8f70c23cbf..f5f0d15b80 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -12409,6 +12409,8 @@ _proto_tree_add_bits_ret_val(proto_tree *tree, const int hfindex, tvbuff_t *tvb, return pi; break; + /* TODO: should handle FT_UINT_BYTES ? */ + default: REPORT_DISSECTOR_BUG("field %s has type %d (%s) not handled in proto_tree_add_bits_ret_val()", hf_field->abbrev, |