Wireshark-commits: [Wireshark-commits] master d6ca6cb: 6LoWPAN: correct IPHC traffic class decompre
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 Jan 2016 13:44:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d6ca6cbe7421a3eb75494c3aa955ff5d7c07a52a
Submitter: Jo?o Valverde (j@xxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d6ca6cb by Kevin Bracey (kevin.bracey@xxxxxxx):

    6LoWPAN: correct IPHC traffic class decompression
    
    Traffic class values from IPHC headers were shown correctly in the IPHC
    dissection, but not correctly inserted into the expanded IPv6 packet.
    
    Problem was only visible on little-endian systems - the previous
    code did work if big-endian.
    
    Error was not present in HC1 decompression, but both IPHC and HC1
    IPv6 construction code clarified by avoiding writing overlapping union
    members.
    
    Bug: 11971
    Change-Id: I3515f18c892f1fc28ef7f8a0830a79d134e81f48
    Reviewed-on: https://code.wireshark.org/review/13109
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  8cabf5b   [aeron] don't THROW() an exception from a dissector
    adds  d6ca6cb   6LoWPAN: correct IPHC traffic class decompression


Summary of changes:
 epan/dissectors/packet-6lowpan.c |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)