Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-gtp.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: Fri, 7 Feb 2003 13:57:24 -0600 (CST)
guy         2003/02/07 13:57:24 CST

  Modified files:
    .                    packet-gtp.c 
  Log:
  Thou Shalt Not Ever Make An Offset An 8-bit Quantity If Thou Art
  Comparing It Against An 8-bit Or Longer Length To Make Sure It Doesn't
  Go Past The Length, because if the length is 255, it can't ever go past
  it as it'll overflow if it does.
  
  Revision  Changes    Path
  1.53      +3 -2      ethereal/packet-gtp.c