Re: [PATCH] qemu: prevent SIGSEGV in qemuProcessHandleDumpCompleted

2023-06-27 Thread Jiri Denemark
On Tue, Jun 27, 2023 at 11:43:58 +0300, Nikolai Barybin wrote: > If VIR_ASYNC_JOB_NONE flag is present, job.current is equal > to NULL, which leads to SIGSEGV. Thus, this check should be > moved up. > > Signed-off-by: Nikolai Barybin > --- > src/qemu/qemu_process.c | 2 +- > 1 file changed, 1

[PATCH] qemu: prevent SIGSEGV in qemuProcessHandleDumpCompleted

2023-06-27 Thread Nikolai Barybin
If VIR_ASYNC_JOB_NONE flag is present, job.current is equal to NULL, which leads to SIGSEGV. Thus, this check should be moved up. Signed-off-by: Nikolai Barybin --- src/qemu/qemu_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_process.c