[libvirt] [python PATCH] Check return value of PyList_Append

Pavel Hrdina phrdina at redhat.com
Mon Aug 3 09:31:18 UTC 2015


On Mon, Aug 03, 2015 at 10:30:20AM +0200, Jiri Denemark wrote:
> libvirt_virDomainGetSecurityLabelList called PyList_Append without
> checking its return value. While looking at it I noticed the function
> did not properly check several other return values either so I fixed
> them all.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1249511
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  libvirt-override.c | 46 ++++++++++++++++++++++++++++++++++++++--------
>  1 file changed, 38 insertions(+), 8 deletions(-)

ACK

Pavel




More information about the libvir-list mailing list