]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix crash passing an empty list to python openAuth() API
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 10 Sep 2012 15:00:05 +0000 (16:00 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Sep 2012 11:16:17 +0000 (12:16 +0100)
commite73ff9763a6efde95037f33b4f7a5eb1ef029c35
treed027ac38037103c332cb9e6cc1f6064e90a0400a
parent3dcafffe170912c616ea4638264396007b1fa86e
Fix crash passing an empty list to python openAuth() API

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@redhat.com>
python/libvirt-override.c