From 3385c2951c7dfecaaf0aad871a0842319d386321 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 23 Oct 2015 16:34:23 -0400 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-ocfs2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ocfs2.c') 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, -- cgit v1.2.3