[libvirt] [PATCH 02/10] Fix crash on OOM in parsing CPU mask in domain XML

Peter Krempa pkrempa at redhat.com
Mon Sep 23 16:34:23 UTC 2013


On 09/23/13 15:23, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The virDomainDefParseXML method did not check the return value
> of the virBitmapNew API call for NULL. This lead to a crash on
> OOM
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/conf/domain_conf.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

ACK.

Peter


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


More information about the libvir-list mailing list