Wireshark-commits: [Wireshark-commits] master-1.12 b4160d3: Get subset TVBs correctly.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Aug 2015 02:10:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b4160d344a970fcb049c98c086e9ca8c89aed459
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

b4160d3 by Guy Harris (guy@xxxxxxxxxxxx):

    Get subset TVBs correctly.
    
    If you know the actual data length, use tvb_new_subset_length(); it will
    use that as the *reported* length, which is how it *should* be used, and
    will calculate the *captured* length for you as appropriate.
    
    Change-Id: I86dde999f59fdfec58b118729b7b881737983033
    Reviewed-on: https://code.wireshark.org/review/10260
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 4fe661da814a749e80443ed6740829fd477a9522)
    Reviewed-on: https://code.wireshark.org/review/10263
    

Actions performed:

    from  d428732   win32: add detection of Npcap to Windows installer
    adds  b4160d3   Get subset TVBs correctly.


Summary of changes:
 epan/dissectors/packet-ieee80211.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)