diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2014-12-04 22:25:39 +0100 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2014-12-04 22:05:40 +0000 |
commit | 73f48a0916c64739e39c27203883ccb13b33aabc (patch) | |
tree | 681b71cf59b9976290d4b91ecd3b2ef6849804ca /epan/dissectors/packet-hpext.h | |
parent | 70ca52c0233036c5648a164f8dbc444bf911ed18 (diff) |
dont't manually throw a ReportedBoundsError if the packet is empty
use tvb_captured_length() instead of tvb_length()
Change-Id: I7e7efd69515fc3e30c986ac5d9a56b4db1931c10
Reviewed-on: https://code.wireshark.org/review/5624
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-hpext.h')
0 files changed, 0 insertions, 0 deletions