diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-10 23:47:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-10 23:47:30 +0000 |
commit | bb2824366b83880c183f9af8ec1f9cf93ad7b599 (patch) | |
tree | faf9542de97dfa9823aa6db8727f0dca387a7fc5 /packet-spnego.c | |
parent | 42ca8b98d5e4edb299f47162352f607e7d130b1d (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.
svn path=/trunk/; revision=6896
Diffstat (limited to 'packet-spnego.c')
-rw-r--r-- | packet-spnego.c | 12 |
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: |