]> The Tcpdump Group git mirrors - tcpdump/commit
PPP: Check if there is some data to hexdump
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 27 Apr 2023 11:19:34 +0000 (13:19 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 27 Apr 2023 11:32:26 +0000 (13:32 +0200)
commitef2869ecb72f85fbb452094b45fa53743a23d086
tree2c4fc0737380e5928095e0b44c3db312dff2105f
parent07d67623862270c21a6f3556a25732e9f09b9f6a
PPP: Check if there is some data to hexdump

This may avoid this error:
Dissector error: print_unknown_data() called with pointer past end of
packet

Add a test file showing the problem.
print-ppp.c
tests/TESTLIST
tests/ppp_error_hexdump.out [new file with mode: 0644]
tests/ppp_error_hexdump.pcap [new file with mode: 0644]