OSITP: do not call subdissector if there is no data
authorPeter Wu <peter@lekensteyn.nl>
Tue, 9 Oct 2018 19:25:35 +0000 (21:25 +0200)
committerAnders Broman <a.broman58@gmail.com>
Wed, 10 Oct 2018 04:04:20 +0000 (04:04 +0000)
commit1a9f074c0c03a1cfae6f63d183ae1791ac11b532
tree7ba92a37eb45b762df6f03dccdf7b81f2e44aba6
parent8c31cdc13c546107235b86cfa9a539c436448f2e
OSITP: do not call subdissector if there is no data

None of the current heuristics dissectors for "cotp" accept the packet,
so just skip calling subdissectors if the packet is empty.

Change-Id: Ie26f05d472b4d184d5229ceab8b143a88cc921fc
Reviewed-on: https://code.wireshark.org/review/30103
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Émilio Gonzalez <egg997@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-ositp.c