wireshark/wireshark-0005-fix-string-overrun-in-plugins-profinet.patch
Peter Lemenkov 1444df1987 Ver. 1.10.1
- Backported rtpproxy dissector module
- Removed outdated, and applied upstream patches

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2013-09-10 14:16:03 +04:00

26 lines
904 B
Diff

From df227f91183e56ef1fe66da5b891a150da8ebe3d Mon Sep 17 00:00:00 2001
From: Peter Hatina <phatina@redhat.com>
Date: Wed, 4 Sep 2013 10:03:57 +0200
Subject: [PATCH 5/7] fix string overrun in plugins/profinet
---
plugins/profinet/packet-dcom-cba.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/profinet/packet-dcom-cba.c b/plugins/profinet/packet-dcom-cba.c
index b44caed..396de82 100644
--- a/plugins/profinet/packet-dcom-cba.c
+++ b/plugins/profinet/packet-dcom-cba.c
@@ -553,7 +553,7 @@ dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree, guint8 *drep)
{
guint32 u32Pointer;
- gchar szStr[1000];
+ gchar szStr[1000] = "";
guint32 u32MaxStr = sizeof(szStr);
dcerpc_info *info = (dcerpc_info *) pinfo->private_data;
gchar *call;
--
1.8.3.1