Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
libvirt.21389
4cc90c2e-CVE-2020-10701.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4cc90c2e-CVE-2020-10701.patch of Package libvirt.21389
commit 4cc90c2e62df653e909ad31fd810224bf8bcf913 Author: Jonathon Jongsma <jjongsma@redhat.com> Date: Fri Mar 20 09:43:13 2020 -0500 api: disallow virDomainAgentSetResponseTimeout() on read-only connections This function changes the amount of time that libvirt waits for a response from the guest agent for all guest agent commands. Since this is a configuration change, it should not be allowed on read-only connections. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Index: libvirt-6.0.0/src/libvirt-domain.c =================================================================== --- libvirt-6.0.0.orig/src/libvirt-domain.c +++ libvirt-6.0.0/src/libvirt-domain.c @@ -12574,6 +12574,8 @@ virDomainAgentSetResponseTimeout(virDoma virCheckDomainReturn(domain, -1); conn = domain->conn; + virCheckReadOnlyGoto(conn->flags, error); + if (conn->driver->domainAgentSetResponseTimeout) { if (conn->driver->domainAgentSetResponseTimeout(domain, timeout, flags) < 0) goto error;
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