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

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

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxx>
Date: Thu, 6 Nov 2003 02:51:21 -0600 (CST)
sahlberg    2003/11/06 02:51:21 CST

  Modified files:
    .                    packet-tcp.c 
  Log:
  Fix for TCP.
  
  If we have short or malformed PDUs in protocols above TCP this will generate
  an exception and thus some of the stateful things such as keeping track of
  and printing the tcp analysis data will be shourcutted and not called.
  
  Add a wrapper around the call to the subdissectors above TCP so that
  if an exception is generated we will still catch it and explicitely
  call tcp_print_sequence_number_analysis() so that also short packets are
  handled well.
  
  Revision  Changes    Path
  1.212     +38 -6     ethereal/packet-tcp.c