aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-07 20:52:23 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-07 20:52:23 +0000
commit833e048e0efe836517e51f25ab2a9b3dbfb90917 (patch)
treecacf51a4a10823f8c16e6e169d854d53b9235f14 /epan/dissectors/packet-dcerpc-nt.c
parent61e0a7edbfdcd6ba038c531313b9266b096ef019 (diff)
fix a potential assignment of a wild pointer
fixes coverity cid 128 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17511 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.c')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c
index e58b83388c..74c94c4176 100644
--- a/epan/dissectors/packet-dcerpc-nt.c
+++ b/epan/dissectors/packet-dcerpc-nt.c
@@ -816,7 +816,7 @@ dissect_nt_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo,
e_ctx_hnd *pdata, proto_item **pitem,
gboolean is_open, gboolean is_close, int type)
{
- proto_item *item;
+ proto_item *item=NULL;
proto_tree *subtree;
e_ctx_hnd hnd;
guint32 open_frame = 0, close_frame = 0;