Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan tvbuff.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Wed, 24 Dec 2003 17:28:17 -0600 (CST)
guy         2003/12/24 17:28:17 CST

  Modified files:
    epan                 tvbuff.c 
  Log:
  In "tvb_ensure_bytes_remaining()", throw ReportedBoundsError, not
  BoundsError, if the offset is just past the end of the reported data
  (because we're ensuring that there actually *is* a byte there, and,
  even according to the reported length, it isn't).
  
  Revision  Changes    Path
  1.56      +2 -2      ethereal/epan/tvbuff.c