On 06/05/2024 9:08 am, Jan Beulich wrote: > While decompression errors are likely going to be fatal to Xen's boot > process anyway, the latest with the goal of doing multiple decompressor > runs it is likely better to avoid leaks even on error paths. All the > more when this way code size actually shrinks a tiny bit. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Right now, all errors in gzip are panic()'s, although that is something that will need addressing in due course. Given that I'm shuffling Daniel's series a little in this code area anyway, I'll slot this patch in ahead which I think will be the least disruptive overall. ~Andrew