diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-03 16:06:57 -0700 |
|---|---|---|
| committer | Jiri Slaby <jslaby@suse.cz> | 2014-07-17 13:43:20 +0200 |
| commit | fac842fd65ee900a65a3ffe48b4b41669b785291 (patch) | |
| tree | 63aaa0cd4250cd161a85d6319c68142b72350d6a /Documentation | |
| parent | 2f1824407bf18b019d2c821881dd0956c6f0a254 (diff) | |
lz4: add overrun checks to lz4_uncompress_unknownoutputsize()
commit 4a3a99045177369700c60d074c0e525e8093b0fc upstream.
Jan points out that I forgot to make the needed fixes to the
lz4_uncompress_unknownoutputsize() function to mirror the changes done
in lz4_decompress() with regards to potential pointer overflows.
The only in-kernel user of this function is the zram code, which only
takes data from a valid compressed buffer that it made itself, so it's
not a big issue. But due to external kernel modules using this
function, it's better to be safe here.
Reported-by: Jan Beulich <JBeulich@suse.com>
Cc: "Don A. Bailey" <donb@securitymouse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
