aboutsummaryrefslogtreecommitdiffstats
path: root/packet-spnego.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-10 23:47:30 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-10 23:47:30 +0000
commit32a4af59f03f234f9f9b38084634b210e277a561 (patch)
treefaf9542de97dfa9823aa6db8727f0dca387a7fc5 /packet-spnego.c
parent5f07876f988644a5a3116668445c250976b9dbbc (diff)
In "dissect_spnego_negTokenTarg()", don't assume we've found a GSSAPI
OID value for the protocol being used in a previous packet in the GSSAPI sequence. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6896 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-spnego.c')
-rw-r--r--packet-spnego.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/packet-spnego.c b/packet-spnego.c
index d67192d582..1ce86ea749 100644
--- a/packet-spnego.c
+++ b/packet-spnego.c
@@ -4,7 +4,7 @@
* Copyright 2002, Tim Potter <tpot@samba.org>
* Copyright 2002, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-spnego.c,v 1.40 2002/12/25 20:58:06 sharpe Exp $
+ * $Id: packet-spnego.c,v 1.41 2003/01/10 23:47:30 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1026,13 +1026,19 @@ dissect_spnego_negTokenTarg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
case SPNEGO_responseToken:
offset = dissect_spnego_responseToken(tvb, offset, pinfo, subtree,
- hnd, (*next_level_value_p)->handle);
+ hnd,
+ (*next_level_value_p != NULL) ?
+ (*next_level_value_p)->handle :
+ NULL);
break;
case SPNEGO_mechListMIC:
offset = dissect_spnego_mechListMIC(tvb, offset, pinfo, subtree,
- hnd, (*next_level_value_p)->handle);
+ hnd,
+ (*next_level_value_p != NULL) ?
+ (*next_level_value_p)->handle :
+ NULL);
break;
default: