[PATCH] fix error in printf format string

2021-08-19 Thread Zhenyu Ye
Use %s to print NULLSTR(duri). Reported-by: Peng Liang Signed-off-by: Zhenyu Ye --- src/libvirt-domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 4eb14d4176..3c4204e563 100644 --- a/src/libvirt-domain.c +++ b/src

Re: [PATCH] security: fix use-after-free in virSecuritySELinuxReserveLabel

2021-08-17 Thread Zhenyu Ye
Hi, On 2021/8/17 17:21, Martin Kletzander wrote: > On Tue, Aug 17, 2021 at 10:55:24AM +0800, Zhenyu Ye wrote: >> commit 2e668a61d5ae4("Fix error handling when adding MCS labels") uses >> the 'pctx' in virReportError after it has been f

[PATCH] security: fix use-after-free in virSecuritySELinuxReserveLabel

2021-08-16 Thread Zhenyu Ye
commit 2e668a61d5ae4("Fix error handling when adding MCS labels") uses the 'pctx' in virReportError after it has been freed. Fix it. Fixes: 2e668a61d5ae4cbd6f79e096d0c394f186e132bd Signed-off-by: eillon --- src/security/security_selinux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH] conf: qemu: add support for io_uring

2020-03-12 Thread Zhenyu Ye
QEMU has added support for io_uring IO mode, see: https://git.qemu.org/git/qemu.git/ adcd6e93. This patch add support for io_uring in libvirt. Signed-off-by: Zhenyu Ye --- src/conf/domain_conf.c | 1 + src/conf/domain_conf.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/conf