Ethereal-cvs: [Ethereal-cvs] rev 13614: /trunk/epan/dissectors/: packet-pgsql.c

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

Date: Sun, 06 Mar 2005 03:11:33 -0000
User: guy
Date: 2005/03/05 09:11 PM

Log:
 Handle the "32-bit length is > 2^31-1, so the protocol tree routines
 will treat it as negative" problem by first calling
 "tvb_ensure_bytes_exist()" - if the length is *that* large, it will run
 past the end of the tvbuff, so the exception that
 "tvb_ensure_bytes_exist()" will throw with a negative argument will be
 the correct exception.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +13 -5     packet-pgsql.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=13614&view=rev