Skip to content
Verified Commit 58a898cb authored by Even Rouault's avatar Even Rouault
Browse files

LZWDecodeCompat(): fix potential index-out-of-bounds write. Fixes...

LZWDecodeCompat(): fix potential index-out-of-bounds write. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2780 / CVE-2018-8905

The fix consists in using the similar code LZWDecode() to validate we
don't write outside of the output buffer.
parent b68fc85f
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment