diff options
| author | Aristo Chen <[email protected]> | 2025-05-08 19:37:24 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-22 14:26:38 -0600 |
| commit | ef305ceff9c875a7c16fdffc5e120d8ddf6243b7 (patch) | |
| tree | d11d70f312774bdd7416fc21eb663a6a30323188 /scripts | |
| parent | 86acdce2ba886153f152b924b28e5c040e316c80 (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 <[email protected]>
[trini: Rework to indent the whole case with { } due to not using the
C23 extension]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
