Wireshark-commits: [Wireshark-commits] rev 52187: /trunk/epan/ /trunk/epan/: proto.c

Date: Mon, 23 Sep 2013 12:09:24 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52187

User: eapache
Date: 2013/09/23 12:09 PM

Log:
 The pointer into proto_tree_add_oid can be NULL if the length is 0. Exposed
 because wmem_alloc(pool, 0) returns NULL (like pretty much every other
 malloc-style function) where ep_ or se_ alloc did not.
 
 Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9175

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