lz4: ensure length does not wrap
(cherry pick from commit 206204a1162b995e2185275167b22468c00d6b36) Given some pathologically compressed data, lz4 could possibly decide to wrap a few internal variables, causing unknown things to happen. Catch this before the wrapping happens and abort the decompression. Reported-by:"Don A. Bailey" <donb@securitymouse.com> Cc: stable <stable@vger.kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Bug: 24810447 Change-Id: Ie008fb8b69f1a1bbf40900fe2d49fff41e7d300b
Loading
Please register or sign in to comment