cip: initialize variable (CID: 1403067).

Change-Id: I65c1b59f8dd6adb471872b74ec9963066053ec66
Reviewed-on: https://code.wireshark.org/review/25071
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Dario Lombardo 2017-12-29 19:51:18 +01:00 committed by Michael Mann
parent d5f0157c09
commit 0b124bff9b
1 changed files with 2 additions and 0 deletions

View File

@ -6003,6 +6003,8 @@ dissect_cip_cm_fwd_open_req(cip_req_info_t *preq_info, proto_tree *cmd_tree, tvb
cip_simple_request_info_t connection_path;
cip_safety_epath_info_t safety_fwdopen;
memset(&safety_fwdopen, 0x0, sizeof(safety_fwdopen));
dissect_cip_cm_timeout(cmd_tree, tvb, offset);
O2TConnID = tvb_get_letohl( tvb, offset+2 );
proto_tree_add_item( cmd_tree, hf_cip_cm_ot_connid, tvb, offset+2, 4, ENC_LITTLE_ENDIAN);