[libvirt] [PATCH] xenconfig: fix issues found by coverity in multiple IP support

John Ferlan jferlan at redhat.com
Wed Dec 13 20:35:10 UTC 2017



On 12/13/2017 02:15 PM, Marek Marczykowski-Górecki wrote:
> - virStringSplit may return NULL
> - VIR_ALLOC_N initialize the array already
> 
> Cc: John Ferlan <jferlan at redhat.com>
> Signed-off-by: Marek Marczykowski-Górecki <marmarek at invisiblethingslab.com>
> ---
>  src/xenconfig/xen_common.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Should have been two patches as they are separate... Probably could have
had Michal alter his other patch too to remove that unnecessary setting
of address_array... In any case, I split and pushed.

Thanks -

John




More information about the libvir-list mailing list