Wireshark-commits: [Wireshark-commits] master-3.2 7fe9764: Make the TTL field unsigned, but keep wa
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7fe976462f411489fea348fda8f44ca722873ba4
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark
Commits:
7fe9764 by Guy Harris (guy@xxxxxxxxxxxx):
Make the TTL field unsigned, but keep warning if the high-order bit is set.
See RFC 2181, section 8 (and RFC 1035 erratum 2130, which notes that
section 3.2.1 says the TTL is signed but section 4.1.3 says it's
unsigned); RFC 2181 section 8 says "unsigned, but avoid sending values
that have the uppermost bit set, and treat values with the uppermost bit
set as a value of 0". (STD 13 = RFC 1034, the "concepts and facilities"
DNS RFC, plus RFC 1035, the "implementation and specification" DNS RFC.)
Change-Id: I9be6ac4f190f62dafbc45d1923a95f8f21306a7d
Reviewed-on: https://code.wireshark.org/review/35343
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 8275036fda8a7a5b9d0819c0ea3e3e26ad6e45ec)
Reviewed-on: https://code.wireshark.org/review/35347
Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from ae71f34 [Automatic update for 2019-12-08]
add 7fe9764 Make the TTL field unsigned, but keep warning if the high-order bit is set.
Summary of changes:
epan/dissectors/packet-dns.c | 50 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 44 insertions(+), 6 deletions(-)