Re: [libvirt] [PATCH] sysinfo: fix illegal NULL return

2011-06-29 Thread Eric Blake
On 06/28/2011 10:33 PM, Minoru Usui wrote: If virSysinfoParse{BIOS,System,Processor,Memory}() can't find newline('\n'), these return NULL. This patch fixes this. Signed-off-by: Minoru Usui u...@mxm.nes.nec.co.jp --- src/util/sysinfo.c | 23 +-- 1 files changed, 13

[libvirt] [PATCH] sysinfo: fix illegal NULL return

2011-06-28 Thread Minoru Usui
If virSysinfoParse{BIOS,System,Processor,Memory}() can't find newline('\n'), these return NULL. This patch fixes this. Signed-off-by: Minoru Usui u...@mxm.nes.nec.co.jp --- src/util/sysinfo.c | 23 +-- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git