Wireshark-commits: [Wireshark-commits] master aec5ffb: DNS: WKS RR Protocol field is read as 4 byte

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 7 Nov 2014 15:43:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=aec5ffb535be189a0861531aeceb7be557e47336
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

aec5ffb by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    DNS: WKS RR Protocol field is read as 4 bytes instead of 1
    
    In the attached pcap file, there's a single DNS packet with WKS RR in the Prerequisites section.
    The Protocol field of this RR is read as if it is 4 bytes long instead of 1, which actually reads part of the bytes of the following RR.
    
    Found by boaz
    
    Bug:10675
    Change-Id: Icf12c7f3864b629a242598373c06eee4de0ca098
    Reviewed-on: https://code.wireshark.org/review/5170
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  de37217   DNS: fix name length and label count for a root server
    adds  aec5ffb   DNS: WKS RR Protocol field is read as 4 bytes instead of 1


Summary of changes:
 epan/dissectors/packet-dns.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)