Wireshark-commits: [Wireshark-commits] master-2.6 158d384: Fix subset-tvbuff creation.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 27 Feb 2019 21:14:04 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=158d384f5faa8bce0c7b0305bcf09afa4fcc5b27
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

158d384 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>
    (backported from commit 179d872565be0c7b265397ec639d49aec4e23511)
    Reviewed-on: https://code.wireshark.org/review/32247
    

Actions performed:

    from  562db46   2.6.7 → 2.6.8.
     add  158d384   Fix subset-tvbuff creation.


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