Don't assume that you get back from "asn1_octet_string_decode()" a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 24 Aug 2000 05:40:50 +0000 (05:40 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 24 Aug 2000 05:40:50 +0000 (05:40 +0000)
commit0e0932befde00f7f62710f15a569aef0ce176bf6
tree4cdb8db649c080e8e3eff4921f0a22312fcac5aa
parent0ecc53eb432e3ba133766f74a86e9660d13e7967
Don't assume that you get back from "asn1_octet_string_decode()" a
pointer to a null-terminated string; you get back a null pointer if the
octet string is zero-length, and even if it's not zero-length there's no
guarantee that the string is null-terminated.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2357 f5534014-38df-0310-8fa8-9805f1628bb7
packet-ldap.c