On Tue, Jan 19, 2021 at 04:16:35PM +0100, Jan Beulich wrote: > Add a DOMPRINTF() other methods have, indicating success. To facilitate > this, introduce an "outsize" local variable and update *size as well as > *blob only once done. The latter then also avoids leaving a pointer to > freed memory in dom->kernel_blob in case of a decompression error. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Wei Liu <w...@xen.org>