From: Lasse Collin Date: Thu, 13 Jan 2011 01:01:17 +0000 (-0800) Subject: Decompressors: fix header validation in decompress_unlzma.c X-Git-Tag: v2.6.38-rc1~259 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8218a437234309faa5725f82c33c3523788d5f68;p=pandora-kernel.git Decompressors: fix header validation in decompress_unlzma.c Validation of header.pos calls error() but doesn't make the function return to indicate an error to the caller. Instead the decoding is attempted with invalid header.pos. This fixes it. Signed-off-by: Lasse Collin Cc: "H. Peter Anvin" Cc: Alain Knaff Cc: Albin Tonnerre Cc: Phillip Lougher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed