diff options
| author | Jan Beulich <JBeulich@suse.com> | 2014-01-23 15:56:20 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:57:37 +0200 |
| commit | ae1ce4d974e3d2bc81b174a7382f3f4924c98bc0 (patch) | |
| tree | b2e2b49fe7ffaa1cf4f2d996b1bf6a3ba7354e1b /scripts/setlocalversion | |
| parent | e5382c346cbb31c0b9198a0bd25e20f0c19e5700 (diff) | |
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 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions
