]> git.lizzy.rs Git - zlib.git/commit
Avoid searching past window for Z_RLE strategy.
authorMark Adler <madler@alumni.caltech.edu>
Fri, 23 Sep 2011 06:45:00 +0000 (23:45 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Fri, 23 Sep 2011 06:45:00 +0000 (23:45 -0700)
commitfaa03d5141fad5ca0c34ac2a4a72b383668083aa
tree722090e054b5793584d7a88337c0ccdae4ba80a7
parentae1de165d7133d6ebe9a69b10abdc952d877b6ae
Avoid searching past window for Z_RLE strategy.

Without this, Z_RLE could under some circumstances read one byte past
the end of the allocated sliding window. This would normally not be a
problem unless the window is right at the end of an allocated page, or
if a bounds checker is being used.
deflate.c