[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 03/10] Fix crash if OOM occurs when creating virConnectPtr



On 09/23/13 15:23, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> If a OOM error occurs in virGetConnect, this may cause the
> virConnectDispose method to de-reference a NULL pointer,
> since the close callback will not have been initialized.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/datatypes.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 

ACK.

Peter


Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]