]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix missing OOM check in qemuParseCommandLine when splitting strings
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Sep 2013 13:18:04 +0000 (14:18 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 24 Sep 2013 09:52:26 +0000 (10:52 +0100)
commit5dd3b5e32ae7c97e820261ec9e71ebe0ffcf1719
treebcf231daef976f703a1d5e8d76ef8da3fed067ef
parent5923ea67b1da641e1d7c3a4d7d59574a57a9816f
Fix missing OOM check in qemuParseCommandLine when splitting strings

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@redhat.com>
src/qemu/qemu_command.c