Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-x25.c packet-lapb.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 12 Sep 1999 13:37:06 -0500 (CDT)
guy         1999/09/12 13:37:03 CDT

  Modified files:
    .                    packet-x25.c packet-lapb.c 
  Log:
  Patch from Olivier Abad:
  
  	packet-lapb.c :
  	check the validity of the first byte in the frame.
  
  	packet-x25.c :
  	- in get_x25_pkt_len() : check that we are not reading after the end of
  	the captured data
  	- in dissect_x25() : various checks to avoid reading after the end of
  	the captured data
  
  	- in dissect_x25() : use offset (and not 2) as the length of the
  	underlying protocol header.
  
  	Olivier
  
  Revision  Changes    Path
  1.6       +126 -87   ethereal/packet-x25.c
  1.5       +11 -1     ethereal/packet-lapb.c