[libvirt] [PATCH 1/5] Fix crash passing an empty list to python openAuth() API

Eric Blake eblake at redhat.com
Mon Sep 10 17:44:39 UTC 2012


On 09/10/2012 09:50 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> If passing a 'credtype' parameter which was an empty list
> to the python openAuth() API, the 'credtype' field in
> the virConnectAuth struct would not be initialized. This
> lead to a crash when later trying to free that field.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  python/libvirt-override.c | 1 +
>  1 file changed, 1 insertion(+)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120910/e1e13056/attachment-0001.sig>


More information about the libvir-list mailing list