From ff65e654f9e4901a6a6a2abb751c60260c852f0b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 2 Feb 2023 17:44:54 +0100 Subject: [PATCH] pidl .cnf fix almost --- epan/dissectors/pidl/eventlog/eventlog.cnf | 2 +- epan/dissectors/pidl/frsrpc/frsrpc.cnf | 2 +- epan/dissectors/pidl/witness/witness.cnf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/epan/dissectors/pidl/eventlog/eventlog.cnf b/epan/dissectors/pidl/eventlog/eventlog.cnf index 193c15ab8f..6590697ec9 100644 --- a/epan/dissectors/pidl/eventlog/eventlog.cnf +++ b/epan/dissectors/pidl/eventlog/eventlog.cnf @@ -145,7 +145,7 @@ eventlog_dissect_element_Record_strings(tvbuff_t *tvb, int offset, packet_info * proto_tree_add_item(tree, hf_eventlog_Record_string, tvb, string_offset, len, ENC_UTF_16|ENC_LITTLE_ENDIAN); string_offset+=len; - *num_of_strings--; + (*num_of_strings)--; } diff --git a/epan/dissectors/pidl/frsrpc/frsrpc.cnf b/epan/dissectors/pidl/frsrpc/frsrpc.cnf index 7af5a8afa8..dd910c3899 100644 --- a/epan/dissectors/pidl/frsrpc/frsrpc.cnf +++ b/epan/dissectors/pidl/frsrpc/frsrpc.cnf @@ -46,7 +46,7 @@ frsrpc_dissect_struct_CommPktChunk(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = frsrpc_dissect_element_CommPktChunk_type(tvb, offset, pinfo, tree, di, drep, &type); - offset = frsrpc_dissect_element_CommPktChunk_data(tvb, offset, pinfo, tree, di, drep, &type); + offset = frsrpc_dissect_element_CommPktChunk_data(tvb, offset, pinfo, tree, di, drep, type); for (i=0; frsrpc_frsrpc_CommPktChunkType_vals[i].strptr; i++) { if (frsrpc_frsrpc_CommPktChunkType_vals[i].value == type) { diff --git a/epan/dissectors/pidl/witness/witness.cnf b/epan/dissectors/pidl/witness/witness.cnf index cfba394440..a10ce018d5 100644 --- a/epan/dissectors/pidl/witness/witness.cnf +++ b/epan/dissectors/pidl/witness/witness.cnf @@ -56,7 +56,7 @@ witness_dissect_struct_notifyResponse(tvbuff_t *tvb _U_, int offset _U_, packet_ proto_item *item = NULL; proto_tree *tree = NULL; int old_offset; - uint32_t num; + uint32_t num = 0; ALIGN_TO_4_BYTES; -- 2.11.4.GIT