diff options
author | Jan Beulich <JBeulich@suse.com> | 2014-01-23 15:56:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 16:37:04 -0800 |
commit | 2a1d689c9ba42a6066540fb221b6ecbd6298b728 (patch) | |
tree | 55c0cab9c0aa7d17fc23f03b9b7631e24458c125 /CREDITS | |
parent | 40e2c71d57565a82970a5a2b75f7eb67bb3252f4 (diff) | |
download | op-kernel-dev-2a1d689c9ba42a6066540fb221b6ecbd6298b728.zip op-kernel-dev-2a1d689c9ba42a6066540fb221b6ecbd6298b728.tar.gz |
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>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions