Eric Blake wrote:
On 03/29/2010 09:44 AM, Jim Meyering wrote:
> This fixes a pair of potential segfault-inducing bugs:
>
>>From 7ca7e9cd366b17e41da9207b68de7e9166a88da2 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering(a)redhat.com>
> Date: Mon, 29 Mar 2010 17:43:01 +0200
> Subject: [PATCH] domain_event.c: don't deref NULL on an OOM error path
>
> * src/conf/domain_event.c (virDomainEventGraphicsNewFromDom):
> Return NULL when handling out-of-memory error, rather than
> falling through with ev=NULL and then assigning to ev->member.
> (virDomainEventGraphicsNewFromObj): Likewise.
ACK.
Pushed this finally (nearly missed it).