[libvirt] [PATCH 1/3] virPCIGetNetName: Initialize @netname to NULL

Erik Skultety eskultet at redhat.com
Wed Jan 23 16:33:24 UTC 2019


On Wed, Jan 23, 2019 at 04:45:06PM +0100, Michal Privoznik wrote:
> This is a return argument that is to be compared against NULL on
> successful return. However, it is not initialized and therefore
> relies on callers setting it to NULL prior calling the function.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list