Wireshark-commits: [Wireshark-commits] master ade2bef: make sure that we don't read past the end of
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 7 Dec 2014 18:52:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ade2beffeb29a1fe062ea0a571e10c120bc772eb
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ade2bef by Martin Kaiser (wireshark@xxxxxxxxx):

    make sure that we don't read past the end of the compressed buffer
    
    Bug: 10757
    Change-Id: I30054c4a75ec86ea603cf78b702be5255c35f549
    Reviewed-on: https://code.wireshark.org/review/5642
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  1bc8791   Eliminate proto_tree_add_text from packet-telnet.c
    adds  ade2bef   make sure that we don't read past the end of the compressed buffer


Summary of changes:
 epan/tvbuff_zlib.c |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)