Wireshark-commits: [Wireshark-commits] rev 35548: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Sun, 16 Jan 2011 03:57:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35548

User: morriss
Date: 2011/01/15 07:57 PM

Log:
 Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s to ensure the
 return string is NULL terminated.
 
 There's no need to pass the result of tvb_get_ptr() as the 'value' in
 proto_tree_add_*(): just use proto_tree_add_item().

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +1 -1      packet-artnet.c    Modified
  +21 -21    packet-dhcpv6.c    Modified
  +5 -6      packet-fcdns.c     Modified
  +2 -2      packet-ipv6.c      Modified
  +4 -11     packet-ipx.c       Modified
  +2 -5      packet-lldp.c      Modified
  +53 -121   packet-lwres.c     Modified