Blame wireshark-0005-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
Peter Hatina 2607a0
diff --git a/plugins/profinet/packet-dcom-cba.c b/plugins/profinet/packet-dcom-cba.c
1444df
index b44caed..396de82 100644
Peter Hatina 2607a0
--- a/plugins/profinet/packet-dcom-cba.c
Peter Hatina 2607a0
+++ b/plugins/profinet/packet-dcom-cba.c
Peter Hatina 2607a0
@@ -553,7 +553,7 @@ dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset,
Peter Hatina 2607a0
     packet_info *pinfo, proto_tree *tree, 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
     dcerpc_info *info      = (dcerpc_info *) pinfo->private_data;
Peter Hatina 2607a0
     gchar       *call;