Wireshark-commits: [Wireshark-commits] master 4fe661d: Get subset TVBs correctly.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 25 Aug 2015 22:40:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4fe661da814a749e80443ed6740829fd477a9522
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4fe661d 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>
    

Actions performed:

    from  0e952e6   SIGCOMP: fix sigcomp.copying_bytes_literally field
    adds  4fe661d   Get subset TVBs correctly.


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