Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ntlmssp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 31 Aug 2002 15:25:44 -0500 (CDT)
guy         2002/08/31 15:25:44 CDT

  Modified files:
    .                    packet-ntlmssp.c 
  Log:
  Catch exceptions thrown while dissecting the NTLMSSP stuff, so that we
  don't abort dissection of the entire packet if we get a
  ReportedBoundsError while dissecting an authentication blob - the
  authentication blob might be in the middle of a packet, and if it's too
  short, that doesn't mean that the stuff *after* it shouldn't be
  dissected.
  
  A length of "-1" when adding items that have variable-length data
  (FT_NONE, FT_PROTOCOL, FT_BYTES, and FT_STRING; this includes stuff
  added with "proto_tree_add_text()") means "to the end of the tvbuff"; we
  don't need to fetch the length of the tvbuff and use that.
  
  Revision  Changes    Path
  1.12      +55 -41    ethereal/packet-ntlmssp.c