Ethereal-cvs: [Ethereal-cvs] rev 15524: /trunk/epan/dissectors/: packet-snmp.c

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

Date: Thu, 25 Aug 2005 03:28:33 GMT
User: guy
Date: 2005/08/24 10:28 PM

Log:
 "sprint_realloc_objid()" expects to be handled a malloced buffer, so
 hand it one (and check for malloc failures), and it returns a malloced
 or realloced buffer, so free it when we're done.
 
 That means that routines that use it can return/supply back a null
 pointer, so check for that.
 
 Don't ep_allocate fixed-length buffers for formatted OID information,
 allocate one that's 'big enough".

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +119 -78   packet-snmp.c    Modified



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