Wireshark-commits: [Wireshark-commits] master-2.2 db2d0d1: Fix incorrect formatting of NSAP area ad
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 27 May 2018 19:01:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=db2d0d1bc1b5bc32002e5045a6cda6bf1bbe035a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

db2d0d1 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix incorrect formatting of NSAP area addresses/address prefixes.
    
    If the area address/address prefix is 13 octets long, use the 13th
    octet, not the 21st octet; the latter is *not* part of the area
    address/address prefix, and might either not be in the packet or might
    be some random other part of the packet.
    
    Add/expand comments while we're at it.
    
    Bug: 14744
    Change-Id: I7b90318a72a49b67d8ec17952add528185fd064b
    Reviewed-on: https://code.wireshark.org/review/27848
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 101b692569f17d14f7165446a8a2ae26415057cb)
    Reviewed-on: https://code.wireshark.org/review/27851
    

Actions performed:

    from  d205aec   [Automatic update for 2018-05-27]
    adds  db2d0d1   Fix incorrect formatting of NSAP area addresses/address prefixes.


Summary of changes:
 epan/osi-utils.c | 30 ++++++++++++++++++++++++++++--
 epan/osi-utils.h |  2 +-
 2 files changed, 29 insertions(+), 3 deletions(-)