URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=abebbb99519cbf920ea4c495741ed9c7b5774def Submitter: Guy Harris ([email protected]) Changed: branch: master-1.10 Repository: wireshark
Commits: abebbb9 by Guy Harris ([email protected]): Do bounds checking when decompressing WCP packets. Extract the data offset and count only once, and make sure we don't run past the end of the data we've copied from the packet; have decompressed_entry() just do the decompression, rather than also fetching the data offset and count. Add some comments while we're at it. Bug: 10844 Change-Id: I6cd720461603e9ad9ec61d2f615ce892a491617c Reviewed-on: https://code.wireshark.org/review/6516 Reviewed-by: Guy Harris <[email protected]> Actions performed: from 5e57b07 [Automatic manuf, services and enterprise-numbers update for 2015-01-11] adds abebbb9 Do bounds checking when decompressing WCP packets. Summary of changes: epan/dissectors/packet-wcp.c | 115 +++++++++++++++++++++++++++++------------- 1 file changed, 81 insertions(+), 34 deletions(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits mailto:[email protected]?subject=unsubscribe
