Re: [PATCH RESEND v2 7/7] block/file-posix: fix a possible undefined behavior

2020-12-13 Thread Laurent Vivier
Le 23/10/2020 à 08:12, Chen Qun a écrit : > From: Pan Nengyuan > > local_err is not initialized to NULL, it will cause a assert error as below: > qemu/util/error.c:59: error_setv: Assertion `*errp == NULL' failed. > > Fixes: c6447510690 > Reported-by: Euler Robot > Signed-off-by: Pan Nengyuan

[PATCH RESEND v2 7/7] block/file-posix: fix a possible undefined behavior

2020-10-22 Thread Chen Qun
From: Pan Nengyuan local_err is not initialized to NULL, it will cause a assert error as below: qemu/util/error.c:59: error_setv: Assertion `*errp == NULL' failed. Fixes: c6447510690 Reported-by: Euler Robot Signed-off-by: Pan Nengyuan Reviewed-by: Stefano Garzarella Reviewed-by: Kevin Wolf