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

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

From: Gerald Combs <gerald@xxxxxxxxxxxxxxxxx>
Date: Sun, 18 May 2003 22:23:13 -0500 (CDT)
gerald      2003/05/18 22:23:13 CDT

  Modified files:
    epan                 proto.c tvbuff.c tvbuff.h 
  Log:
  More tvb_get_nstringz0() fixes.  Timo Sirainen pointed out that Bad
  Things can happen if we pass a zero buffer length to tvb_get_nstringz0().
  Throw an exception if this happens.
  
  In various dissectors make sure the tvb_get_nstringz0()'s buffer length
  is greater than zero.
  
  Revision  Changes    Path
  1.86      +26 -25    ethereal/epan/proto.c
  1.44      +7 -1      ethereal/epan/tvbuff.c
  1.32      +3 -1      ethereal/epan/tvbuff.h