Wireshark-commits: [Wireshark-commits] master ad3afb0: Properly fetch the ethertype.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 6 Mar 2016 17:24:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ad3afb02c369323d83df0cd38fc790203adfd889
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ad3afb0 by Guy Harris (guy@xxxxxxxxxxxx):

    Properly fetch the ethertype.
    
    The ethertype is 16 bits and big-endian, so fetch it with pntoh16() to
    convert it to host byte order (and to handle unaligned values).
    
    Fixes Coverity CID 1355352.
    
    Change-Id: I14980e2813c3ea19c6df01681f8ed7aaad5c3f59
    Reviewed-on: https://code.wireshark.org/review/14359
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5876dc2   802.15.4 update handling of PAN ID Compression to 802.15.4-2015
    adds  ad3afb0   Properly fetch the ethertype.


Summary of changes:
 editcap.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)