Wireshark-commits: [Wireshark-commits] master 4fd9872: tvbuff_composite.c: fix composite_get_ptr wh
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 13 Nov 2016 22:31:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4fd9872d11d3d575d8f261097c51a7d30b36ee40
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

Actions performed:

    from  a962621   PER: fixes for fragmented bitstring
    adds  4fd9872   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(-)