Wireshark-commits: [Wireshark-commits] master-1.12 44cd476: The length of the pktap header isn't fi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Sep 2014 08:16:24 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=44cd476f949e11a66576d93b00b6e55b649a5d83
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

44cd476 by Guy Harris (guy@xxxxxxxxxxxx):

    The length of the pktap header isn't fixed, it's a field in the header.
    
    Don't assume that, once we've dissected the fields in the header we know
    about and skipped past them, that the payload follows immediately
    afterwards; use the header length from the header to find the payload.
    
    Bug: 10502
    Change-Id: I645fe652240e0068d99cf00d19e3705615857d5b
    Reviewed-on: https://code.wireshark.org/review/4280
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit d094eab1a3e76ace9a7bd0e82abd0470f1c9a420)
    Reviewed-on: https://code.wireshark.org/review/4281
    

Actions performed:

    from  4c49881   Fix a record size check.
    adds  44cd476   The length of the pktap header isn't fixed, it's a field in the header.


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