fix one crash in the the error handling for CVE-2011-1146
parent
ad7d10defd
commit
a97e8a832b
|
@ -29,7 +29,7 @@ Rebased to 0.8.2, mostly changed the call of the error routines
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
+ if (conn->flags & VIR_CONNECT_RO) {
|
+ if (conn->flags & VIR_CONNECT_RO) {
|
||||||
+ virLibDomainError(NULL, VIR_ERR_OPERATION_DENIED, __FUNCTION__);
|
+ virLibConnError(NULL, VIR_ERR_OPERATION_DENIED, __FUNCTION__);
|
||||||
+ goto error;
|
+ goto error;
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,7 @@
|
||||||
Summary: Library providing a simple API virtualization
|
Summary: Library providing a simple API virtualization
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 5%{?dist}%{?extra_release}
|
Release: 6%{?dist}%{?extra_release}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
|
Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
|
||||||
|
@ -921,6 +921,9 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 16 2011 Daniel Veillard <veillard@redhat.com> 0.8.3-6
|
||||||
|
- fix one crash in the the error handling for previous patch
|
||||||
|
|
||||||
* Tue Mar 15 2011 Daniel Veillard <veillard@redhat.com> 0.8.3-5
|
* Tue Mar 15 2011 Daniel Veillard <veillard@redhat.com> 0.8.3-5
|
||||||
- fix a lack of API check on read-only connections 683655
|
- fix a lack of API check on read-only connections 683655
|
||||||
- CVE-2011-1146
|
- CVE-2011-1146
|
||||||
|
|
Loading…
Reference in New Issue