diff options
author | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-05-23 01:45:27 +0000 |
---|---|---|
committer | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-05-23 01:45:27 +0000 |
commit | 60833f68b312cdf697bef8cb11576eed97a07b55 (patch) | |
tree | e51f2a2b00a0f59c59dda5a4bc1fae2b5dbe62d6 /packet-smb.c | |
parent | 8d31b414dc783d952cde7e522fb086cc310a1dab (diff) |
Initialise sid_str in case dissect_nt_sid() can't return a string
representation for the sid.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7719 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-smb.c')
-rw-r--r-- | packet-smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c index 601919b9d4..1cca7e3bb3 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -3,7 +3,7 @@ * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * 2001 Rewrite by Ronnie Sahlberg and Guy Harris * - * $Id: packet-smb.c,v 1.342 2003/05/22 11:32:06 sahlberg Exp $ + * $Id: packet-smb.c,v 1.343 2003/05/23 01:45:27 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -7524,7 +7524,7 @@ dissect_nt_v2_ace(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree = NULL; int old_offset = offset; guint16 size; - char *sid_str; + char *sid_str = NULL; guint8 type; guint8 flags; |