Wireshark-commits: [Wireshark-commits] master-3.0 9c80b43: Fix subset-tvbuff creation.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 27 Feb 2019 21:11:35 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9c80b43272ab111b959db25d7c76573af6724107
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

9c80b43 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix subset-tvbuff creation.
    
    Use tvb_new_subset_length(), rather than (incorrectly) attempting to
    calculate the captured length ourselves.
    
    Change-Id: I9f608ee5bf59f261111b2a75900dddad12fb5554
    Reviewed-on: https://code.wireshark.org/review/32245
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 757c915c5b3f6f12c6ecef5f6a1a82f8c2eedfb0)
    Reviewed-on: https://code.wireshark.org/review/32246
    

Actions performed:

    from  f96f8b8   More "It's not a CRC, it's metadata".
     add  9c80b43   Fix subset-tvbuff creation.


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