Wireshark-commits: [Wireshark-commits] master d094eab: The length of the pktap header isn't fixed,
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Sep 2014 08:16:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d094eab1a3e76ace9a7bd0e82abd0470f1c9a420
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d094eab 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>
    

Actions performed:

    from  a87ea36   Fix a record size check.
    adds  d094eab   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(-)