Files
Magisk/native/src
topjohnwu 6d391dd5b1 magiskboot: handle decompression errors in unpack
Previously, decompress_bytes dropped the LoggedResult from decoding,
returning void. In bootimg.cpp, unpack and split_image_dtb never checked
whether decompression succeeded, leaving empty 0-byte output files and
returning RETURN_OK (0).

Return a boolean status from decompress_bytes and check it during unpack
and split_image_dtb. On decompression failure, remove any incomplete
output files and return RETURN_ERROR (1).

Assisted-by: Gemini 3.8 Flash
2026-09-18 16:50:34 -07:00
..
2025-12-12 11:42:45 -08:00
2026-08-03 19:22:52 -07:00
2025-09-18 03:22:44 -07:00
2025-09-18 03:22:44 -07:00
2026-09-04 09:44:49 -07:00
2026-09-04 09:44:49 -07:00
2024-01-11 16:19:39 -08:00
2025-10-19 17:15:30 -07:00