URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c42f6b463bd1958dcb1342714cd10de8dfdab8f3
Submitter: Jaap Keuter (jaap.keuter@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
c42f6b4 by Jaap Keuter (jaap.keuter@xxxxxxxxx):
Correctly handle the PPI GPS timestamp fraction
The timestamp and timestamp fraction are processed in one step,
since this creates a proper timestamp interpretation. There are
two fixes to this code to deal with erroneous packets.
One is that when taking into account the timestamp fragment the
available data must be 8 bytes in total, not just 4.
The other is that when the mask indicates that there's only a
timestamp fraction, nothing was shown.
Change-Id: I4a0a65229f322ad56673a26ff6b3e769e994062d
Signed-off-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/28007
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 447ffdf042e0eebf87ea9d33a9823e6d24345a0e)
Reviewed-on: https://code.wireshark.org/review/28054
Actions performed:
from e800b70 Make sure proto_tree_add_expert items are always added to the tree.
adds c42f6b4 Correctly handle the PPI GPS timestamp fraction
Summary of changes:
epan/dissectors/packet-ppi-gps.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)