2013-09-10 10:16:03 +00:00
|
|
|
From: Peter Hatina <phatina@redhat.com>
|
|
|
|
Date: Wed, 4 Sep 2013 10:03:57 +0200
|
2013-11-13 11:53:53 +00:00
|
|
|
Subject: [PATCH] fix string overrun in plugins/profinet
|
2013-09-10 10:16:03 +00:00
|
|
|
|
|
|
|
|
2013-09-04 08:03:57 +00:00
|
|
|
diff --git a/plugins/profinet/packet-dcom-cba.c b/plugins/profinet/packet-dcom-cba.c
|
2014-08-07 14:35:19 +00:00
|
|
|
index 0f1658a..f7fd322 100644
|
2013-09-04 08:03:57 +00:00
|
|
|
--- a/plugins/profinet/packet-dcom-cba.c
|
|
|
|
+++ b/plugins/profinet/packet-dcom-cba.c
|
2014-08-07 14:35:19 +00:00
|
|
|
@@ -557,7 +557,7 @@ dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset,
|
|
|
|
packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep)
|
2013-09-04 08:03:57 +00:00
|
|
|
{
|
|
|
|
guint32 u32Pointer;
|
|
|
|
- gchar szStr[1000];
|
|
|
|
+ gchar szStr[1000] = "";
|
|
|
|
guint32 u32MaxStr = sizeof(szStr);
|
|
|
|
gchar *call;
|
2014-08-07 14:35:19 +00:00
|
|
|
|