Wireshark-commits: [Wireshark-commits] master-2.2 26b9227: tvbuff_composite.c: fix composite_get_pt

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 13 Nov 2016 22:32:39 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=26b92274eab3acf13f1fe7741a0b0fcf8765f4c3
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

26b9227 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    tvbuff_composite.c: fix composite_get_ptr when length is over 2 segments
    
    When storing a copy of the composite tvb in tvb->real_data, ensure to copy the full
    data and not only the length currently requested by the call to tvb_get_ptr()
    
    Change-Id: I6b42f3d46c4fba83fadf4d06f465c8d2486f4853
    Reviewed-on: https://code.wireshark.org/review/18806
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit 4fd9872d11d3d575d8f261097c51a7d30b36ee40)
    Reviewed-on: https://code.wireshark.org/review/18809
    

Actions performed:

    from  1398f67   [Automatic update for 2016-11-13]
    adds  26b9227   tvbuff_composite.c: fix composite_get_ptr when length is over 2 segments


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