]> git.ipfire.org Git - thirdparty/libvirt.git/commit
sysinfo: fix illegal NULL return
authorMinoru Usui <usui@mxm.nes.nec.co.jp>
Wed, 29 Jun 2011 04:33:22 +0000 (13:33 +0900)
committerEric Blake <eblake@redhat.com>
Wed, 29 Jun 2011 15:12:38 +0000 (09:12 -0600)
commit72882bc9d9c5f4e0f2593b359d4561accb177296
tree4b02918422190c6c2f07317af532cfc69c62b9f3
parent516235c0378443a222e2d2b45ce794ecc033493c
sysinfo: fix illegal NULL return

If virSysinfoParse{BIOS,System,Processor,Memory}()
can't find newline('\n'), these return NULL.
This patch fixes this.

Signed-off-by: Minoru Usui <usui@mxm.nes.nec.co.jp>
src/util/sysinfo.c