diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-08-09 09:08:05 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-08-10 15:14:16 +0000 |
commit | dfc30130e94e97d42389e4b7ef7e2227df99cdf7 (patch) | |
tree | e52afaff52b862648b9472f7fddeb9acacb6eee0 /src/lib/selfboot.c | |
parent | fb03dd604300204a35cea2752a5c5a0d17c6d147 (diff) |
fit: Handle decompression errors properly
Set payload to NULL in case of decompression errors.
Fixes the attempt to boot a kernel that couldn't be decompressed.
Change-Id: I3a602b0e90923a0b5a3683c4a0adf9e4733d5a2a
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/27970
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/selfboot.c')
0 files changed, 0 insertions, 0 deletions