The pointer into proto_tree_add_oid can be NULL if the length is 0. Exposed
authorEvan Huus <eapache@gmail.com>
Mon, 23 Sep 2013 12:09:20 +0000 (12:09 -0000)
committerEvan Huus <eapache@gmail.com>
Mon, 23 Sep 2013 12:09:20 +0000 (12:09 -0000)
commitf1ba7e10958715ef6f7fba1bc46bbe5fe4d6b2a9
treed555a2a88255741426364f9415ef6087647b3309
parentbd3d51b5fe77fd8e9517b6ad5e26a0b5fa63bf46
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

svn path=/trunk/; revision=52187
epan/proto.c