In new_format_oid(), handle a zero-length OID.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Jul 2006 22:12:02 +0000 (22:12 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Jul 2006 22:12:02 +0000 (22:12 +0000)
commit9f8386d63f8fc6fb2bdeed2949795f46ca9a1227
tree55cf0cb616310c4e42a93835a86f9ecffedaad3e
parentc7f8e7a695c637e0aaf43bf7a763fb4f9f16fdfc
In new_format_oid(), handle a zero-length OID.

Fix a bug introduced recently in packet-rpc.c.

Replace DISSECTOR_ASSERT() with THROW(ReportedBoundsError) in my recent
checkins, since fuzz-test.sh sets WIRESHARK_ABORT_ON_DISSECTOR_BUG.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18693 f5534014-38df-0310-8fa8-9805f1628bb7
asn1/snmp/packet-snmp-template.c
epan/dissectors/packet-ber.c
epan/dissectors/packet-mount.c
epan/dissectors/packet-mq.c
epan/dissectors/packet-pktc.c
epan/dissectors/packet-rpc.c
epan/dissectors/packet-snmp.c
epan/dissectors/packet-ssh.c