summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_bootmgr.c
diff options
context:
space:
mode:
authorAristo Chen <jj251510319013@gmail.com>2025-05-08 19:37:24 +0000
committerTom Rini <trini@konsulko.com>2025-05-22 14:26:38 -0600
commitef305ceff9c875a7c16fdffc5e120d8ddf6243b7 (patch)
treed11d70f312774bdd7416fc21eb663a6a30323188 /lib/efi_loader/efi_bootmgr.c
parent86acdce2ba886153f152b924b28e5c040e316c80 (diff)
cmd: ximg: handle Z_BUF_ERROR explicitly in GZIP decompression
When decompressing GZIP-compressed image parts via the `imxtract` command, explicitly handle the `Z_BUF_ERROR` return value from `gunzip()` to provide a clearer diagnostic. This error typically indicates that the destination buffer is too small to hold the uncompressed data. Signed-off-by: Aristo Chen <aristo.chen@canonical.com> [trini: Rework to indent the whole case with { } due to not using the C23 extension] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/efi_loader/efi_bootmgr.c')
0 files changed, 0 insertions, 0 deletions