Wireshark-commits: [Wireshark-commits] master 55d8c44: 6lowpan: fix handling of UDP packets without
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=55d8c445b47375a813c9ebb2b398951f65145a84
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
55d8c44 by Robert Sauter (sauter@xxxxxxxxxxxx):
6lowpan: fix handling of UDP packets without payload
Replace all calls of tvb_ensure_captured_length_remaining with
tvb_ensure_length_remaining as they are only used to ensure that already
read data is present and it is not always required that at least 1 more
byte follows.
Change-Id: I71b1142c0d8f8fe3ddb09b80b6ca8ed10e0b67b6
Reviewed-on: https://code.wireshark.org/review/30517
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from c29c652 Qt: Add file hashes to capture file properties dialog
add 55d8c44 6lowpan: fix handling of UDP packets without payload
Summary of changes:
epan/dissectors/packet-6lowpan.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)