diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-18 23:12:30 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-18 21:26:26 +0000 |
commit | af920d25e2477b07c89cadcf913cd8d529bc0e71 (patch) | |
tree | 8f4527f7f6a5977f2e3876128a44b321369fa102 | |
parent | 3ee75b0e70b337707f9a97d4c0ccfe701143a85a (diff) | |
download | wireshark-af920d25e2477b07c89cadcf913cd8d529bc0e71.tar.gz |
DCOM: ensure to initialize IPv4 variable put on the stack
Bug: 11610
Change-Id: I920b88ab035ff34e7cff9eab8158aa2dabe2faac
Reviewed-on: https://code.wireshark.org/review/11134
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
(cherry picked from commit d34267d0503a67235bf259fd2f2f2d2bb8b18cf5)
Reviewed-on: https://code.wireshark.org/review/11136
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r-- | epan/dissectors/packet-dcom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcom.c b/epan/dissectors/packet-dcom.c index d26b407f96..bbc323204a 100644 --- a/epan/dissectors/packet-dcom.c +++ b/epan/dissectors/packet-dcom.c @@ -2035,6 +2035,7 @@ dissect_dcom_OBJREF(tvbuff_t *tvb, gint offset, packet_info *pinfo, gchar ip[4]; memset(&ipid, 0, sizeof(ipid)); + memset(ip, 0, sizeof(ip)); /* add subtree header */ sub_item = proto_tree_add_item(tree, hf_dcom_objref, tvb, offset, 0, ENC_NA); |