diff options
author | Michael Mann <mmann78@netscape.net> | 2015-10-23 16:34:23 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-10-24 01:45:12 +0000 |
commit | 3385c2951c7dfecaaf0aad871a0842319d386321 (patch) | |
tree | 811df3ea5557ca118ecfa27281b237595070c214 /epan/dissectors/packet-ocfs2.c | |
parent | 4f39c603c2f0a2e429afedd18cd5c796bbbf8916 (diff) |
NULL terminate some hf_ arrays used in proto_tree_add_bitmask_xxx calls.
I thought this was already caught by one of the check*.pl scripts, but I ran into the one in packet-nfs.c and decided to manually check the dissector directory.
Change-Id: I8df83227255818eabc43763e3cf760cf762797cc
Reviewed-on: https://code.wireshark.org/review/11230
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ocfs2.c')
-rw-r--r-- | epan/dissectors/packet-ocfs2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ocfs2.c b/epan/dissectors/packet-ocfs2.c index 5e3be07ed4..51f62022b0 100644 --- a/epan/dissectors/packet-ocfs2.c +++ b/epan/dissectors/packet-ocfs2.c @@ -480,7 +480,8 @@ static int dlm_lkm_flags_handler(proto_tree *tree, tvbuff_t *tvb, guint offset) &hf_dlm_lock_flag_migration, &hf_dlm_lock_flag_put_lvb, &hf_dlm_lock_flag_get_lvb, - &hf_dlm_lock_flag_recovery + &hf_dlm_lock_flag_recovery, + NULL }; proto_tree_add_bitmask_with_flags(tree, tvb, offset, hf_dlm_lock_flags, |