Wireshark-commits: [Wireshark-commits] master-3.2 c97e82b: NGAP: catch NAS 5GS dissection errors
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c97e82bbb67b5750086be352532c949d4fa490af
Submitter: "Pascal Quantin <pascal@xxxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark
Commits:
c97e82b by Pascal Quantin (pascal@xxxxxxxxxxxxx):
NGAP: catch NAS 5GS dissection errors
This is useful when the NAS 5GS heuristic to decode 5G-EEA0 packets does
a false detection, so as to dissect the rest of the NGAP PDU.
Change-Id: I4eaa3caf06e0ed8923795470a2def7a73438110e
Reviewed-on: https://code.wireshark.org/review/35380
Petri-Dish: Pascal Quantin <pascal@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@xxxxxxxxxxxxx>
(cherry picked from commit 6a1ba1af8dc709657d024efa7158ea59ed05b188)
Reviewed-on: https://code.wireshark.org/review/35381
Actions performed:
from abdd0a7 TTLs are unsigned; format them with unsigned_time_secs_to_str().
add c97e82b NGAP: catch NAS 5GS dissection errors
Summary of changes:
epan/dissectors/asn1/ngap/ngap.cnf | 12 +-
epan/dissectors/asn1/ngap/packet-ngap-template.c | 4 +
epan/dissectors/packet-ngap.c | 268 ++++++++++++-----------
3 files changed, 154 insertions(+), 130 deletions(-)