Don't try and dissect a zero length NTLM response as a NTLMv2 response.

svn path=/trunk/; revision=7647
This commit is contained in:
Tim Potter 2003-05-07 04:32:59 +00:00
parent c7cf9a4207
commit f7c07ddbae
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
* Routines for NTLM Secure Service Provider
* Devin Heitmueller <dheitmueller@netilla.com>
*
* $Id: packet-ntlmssp.c,v 1.37 2003/05/07 04:07:45 tpot Exp $
* $Id: packet-ntlmssp.c,v 1.38 2003/05/07 04:32:59 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -471,7 +471,7 @@ dissect_ntlmssp_ntlm_response(tvbuff_t *tvb, int offset,
proto_item *item = NULL;
proto_tree *subtree = NULL, *ntlmv2_tree = NULL;
if (blob_length == 24) {
if (blob_length > 24) {
/* Not NTLMv2 */