Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP4:Update
libvirt.11330
e039a830-fix-qemuProcessSEVCreateFile-retval.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File e039a830-fix-qemuProcessSEVCreateFile-retval.patch of Package libvirt.11330
commit e039a83064d65ba0b4efa637691586873cb8dc2a Author: Luyao Huang <lhuang@redhat.com> Date: Wed Jun 20 17:05:02 2018 +0800 qemu: process: Fix the return value in qemuProcessSEVCreateFile When commit 6718132d enforced usage of the cleanup label, it forgot to set the @ret variable to 0 on "success" exit path. Signed-off-by: Luyao Huang <lhuang@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> Index: libvirt-4.0.0/src/qemu/qemu_process.c =================================================================== --- libvirt-4.0.0.orig/src/qemu/qemu_process.c +++ libvirt-4.0.0/src/qemu/qemu_process.c @@ -5599,6 +5599,7 @@ qemuProcessSEVCreateFile(const char *con goto cleanup; } + ret = 0; cleanup: VIR_FREE(configFile); return ret;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor