TODO needed??? packet-ntlmssp: fix possible segfault and set blob->length so the...
authorStefan Metzmacher <metze@samba.org>
Tue, 6 Nov 2012 09:02:59 +0000 (10:02 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Jan 2014 08:18:23 +0000 (09:18 +0100)
epan/dissectors/packet-ntlmssp.c

index 41c6ab1eb3d21682b6ef0127c97806e7782902e0..035207a0d1846001bbd806a1af4d16817344f546 100644 (file)
@@ -998,6 +998,7 @@ dissect_ntlmssp_blob (tvbuff_t *tvb, packet_info *pinfo,
     } else {
       result->length = 0;
       result->contents = NULL;
+      //result->length = MAX_BLOB_SIZE;
       expert_add_info_format(pinfo, tf, &ei_ntlmssp_v2_key_too_long,
                              "NTLM v2 key is %d bytes long, too big for our %d buffer", blob_length, MAX_BLOB_SIZE);
     }