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: Tue, 23 Dec 2003 15:22:00 -0600 (CST)
guy         2003/12/23 15:22:00 CST

  Modified files:
    epan                 tvbuff.c 
  Log:
  Have "tvb_ensure_length_remaining()" throw the appropriate exception if
  there's no data remaining - its callers largely depend on it doing so.
  
  That means that the BEEP dissector doesn't have to check for it
  returning 0.
  
  Revision  Changes    Path
  1.55      +12 -1     ethereal/epan/tvbuff.c