Wireshark-commits: [Wireshark-commits] master a4da88a: J1939 can have 0 bytes of "packet data" (i.e
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a4da88a3d0cc0b067c45fe8fc9c4b85a687ef6eb
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a4da88a by Michael Mann (mmann78@xxxxxxxxxxxx):
J1939 can have 0 bytes of "packet data" (i.e. just CAN ID), so use tvb_reported_length instead of -1.
Bug: 12366
Change-Id: Id702572b95c3500906ce12ee9658ded132611247
Reviewed-on: https://code.wireshark.org/review/15108
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 83924c8 addr_resolv: async_dns_queue_head HAVE_C_ARES missing
adds a4da88a J1939 can have 0 bytes of "packet data" (i.e. just CAN ID), so use tvb_reported_length instead of -1.
Summary of changes:
epan/dissectors/packet-j1939.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)