[libvirt] [PATCH 08/10] Fix missing OOM check in qemuParseCommandLine when splitting strings
Peter Krempa
pkrempa at redhat.com
Mon Sep 23 16:42:25 UTC 2013
On 09/23/13 15:23, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The qemuParseCommandLine method did not check the return value of
> virStringSplit to see if OOM had occurred. This lead to dereference
> of a NULL pointer on OOM.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/qemu/qemu_command.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/34d78a62/attachment-0001.sig>
More information about the libvir-list
mailing list