Ethereal-cvs: [Ethereal-cvs] rev 14437: /trunk/epan/: proto.c

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

Date: Thu, 26 May 2005 14:53:41 -0000
User: gerald
Date: 2005/05/26 09:53 AM

Log:
 In some places we call proto_tree_add_item() with hfindex and length
 values that may not be valid (e.g. dissect_ber_octet_string()
 in packet-ber.c).  If the length is invalid, get_uint_value() or
 get_int_value() will abort.  Change them to throw an exception instead.
 This keeps us from having to do a lot of extra work in the dissector.
 
 Fixes bug 182.

Directory: /trunk/epan/
  Changes    Path          Action
  +2 -2      proto.c       Modified



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