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

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

Date Next Thread Next
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 1 Jun 1999 15:39:26 -0500 (CDT)
guy         1999/06/01 15:39:23 CDT

  Modified files:
    .                    packet-smb.c 
  Log:
  Unfortunately, as the "cap_len" field in a "frame_data" is unsigned,
  "fd->cap_len - offset", i.e. END_OF_FRAME, is unsigned, so
  
  	while (END_OF_FRAME > 0) {
  
  doesn't keep you out of the loop if "offset" is already beyond
  "fd->cap_len", so you can try processing stuff past the end of the
  captured data in the packet.
  
  Revision  Changes    Path
  1.12      +2 -2      ethereal/packet-smb.c