bb5dee6296
Resolves: RHEL-68453 - Loop with Unreachable Exit Condition ('Infinite Loop') in Wireshark Resolves: RHEL-68452 - Buffer Over-read in Wireshark
19 lines
701 B
Diff
19 lines
701 B
Diff
From: Peter Hatina <phatina@redhat.com>
|
|
Date: Wed, 4 Sep 2013 10:03:57 +0200
|
|
Subject: [PATCH] fix string overrun in plugins/profinet
|
|
|
|
|
|
diff --git a/plugins/epan/profinet/packet-dcom-cba.c b/plugins/epan/profinet/packet-dcom-cba.c
|
|
index 52c5017e1f..fb980269db 100644
|
|
--- a/plugins/epan/profinet/packet-dcom-cba.c
|
|
+++ b/plugins/epan/profinet/packet-dcom-cba.c
|
|
@@ -543,7 +543,7 @@ dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset,
|
|
packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
|
|
{
|
|
uint32_t u32Pointer;
|
|
- char szStr[1000];
|
|
+ char szStr[1000] = "";
|
|
uint32_t u32MaxStr = sizeof(szStr);
|
|
char *call;
|
|
|