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 Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Nov 2000 00:11:33 -0600 (CST)
guy         2000/11/30 00:11:33 CST

  Modified files:
    epan                 tvbuff.c 
  Log:
  In "tvb_find_guint8()" and "tvb_pbrk_guint8()", correctly set the limit
  of the search if the caller-supplied limit goes past the end of the
  tvbuff - the limit should just be what remains in the tvbuff after the
  specified starting offset.
  
  In "tvb_find_line_end_unquoted()", after searching for the next
  interesting character, check the value we got back from that search, in
  "char_offset", not whatever happens to be in "cur_offset", to see if we
  found a character.
  
  Revision  Changes    Path
  1.12      +14 -4     ethereal/epan/tvbuff.c