summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLasse Collin2011-01-13 02:01:19 +0100
committerLinus Torvalds2011-01-13 17:03:24 +0100
commiteb0cf3e19b4940a2d26dcdea03510ae16a580fcd (patch)
treefb7eabafd37cdddee9c082bb29844474699f6a8f /Makefile
parentDecompressors: check for write errors in decompress_unlzma.c (diff)
downloadkernel-qcow2-linux-eb0cf3e19b4940a2d26dcdea03510ae16a580fcd.tar.gz
kernel-qcow2-linux-eb0cf3e19b4940a2d26dcdea03510ae16a580fcd.tar.xz
kernel-qcow2-linux-eb0cf3e19b4940a2d26dcdea03510ae16a580fcd.zip
Decompressors: validate match distance in decompress_unlzma.c
Validate the newly decoded distance (rep0) in process_bit1(). This is to detect corrupt LZMA data quickly. The old code can run for long time producing garbage until it hits the end of the input. Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Alain Knaff <alain@knaff.lu> Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com> Cc: Phillip Lougher <phillip@lougher.demon.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions