Searched hist:"2 a1d689c9ba42a6066540fb221b6ecbd6298b728" (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | decompress_unlz4.c | diff 2a1d689c9ba42a6066540fb221b6ecbd6298b728 Fri Jan 24 00:56:20 CET 2014 Jan Beulich <JBeulich@suse.com> lib/decompress_unlz4.c: always set an error return code on failures
"ret", being set to -1 early on, gets cleared by the first invocation of lz4_decompress()/lz4_decompress_unknownoutputsize(), and hence subsequent failures wouldn't be noticed by the caller without setting it back to -1 right after those calls.
Reported-by: Matthew Daley <mattjd@gmail.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Kyungsik Lee <kyungsik.lee@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|