Blame wireshark-0003-fix-string-overrun-in-plugins-profinet.patch

1444df
From: Peter Hatina <phatina@redhat.com>
1444df
Date: Wed, 4 Sep 2013 10:03:57 +0200
173888
Subject: [PATCH] fix string overrun in plugins/profinet
1444df
1444df
Michal Ruprich 97ece0
diff --git a/plugins/epan/profinet/packet-dcom-cba.c b/plugins/epan/profinet/packet-dcom-cba.c
d3e571
index 0f1658a..f7fd322 100644
Michal Ruprich 97ece0
--- a/plugins/epan/profinet/packet-dcom-cba.c
Michal Ruprich 97ece0
+++ b/plugins/epan/profinet/packet-dcom-cba.c
Peter Hatina fe8eca
@@ -555,7 +555,7 @@ dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset,
d3e571
     packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
Peter Hatina 2607a0
 {
Peter Hatina 2607a0
     guint32      u32Pointer;
Peter Hatina 2607a0
-    gchar        szStr[1000];
Peter Hatina 2607a0
+    gchar        szStr[1000] = "";
Peter Hatina 2607a0
     guint32      u32MaxStr = sizeof(szStr);
Peter Hatina 2607a0
     gchar       *call;
d3e571