[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC v4 1/7] Fix segmentation fault when qemu_sig

From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH RFC v4 1/7] Fix segmentation fault when qemu_signal_init fails
Date: Wed, 26 Sep 2018 18:10:50 +0800
User-agent: Mutt/1.10.1 (2018-07-13)

On Wed, 09/26 18:02, Fei Li wrote:
> Currently, when qemu_signal_init() fails it only returns a non-zero
> value but without propagating any Error. But its callers need a
> non-null err when runs error_report_err(err), or else 0->msg occurs.
> To avoid such segmentation fault, add a new Error parameter to make
> the call trace to propagate the err to the final caller.
> Signed-off-by: Fei Li <address@hidden>

Reviewed-by: Fam Zheng <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]