[libvirt] [PATCH v2] nwfilter: Initialize virNWFilterAddIpAddrForIfname return variable

Eric Blake eblake at redhat.com
Wed Nov 23 12:31:37 UTC 2011


On 11/23/2011 05:15 AM, Stefan Berger wrote:
> Thanks for trying to fix this. This one tries to address Jiri's concern
> about the return value from virNWFilterHashTablePut with a not to fix it
> in the future.
> 
> Latest nwfilter patch ad6c67cf introduced uninitialized return
> value. This was spotted by 4.6.2 gcc.
> ---
>  src/nwfilter/nwfilter_learnipaddr.c |   15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

Quite a bit of traffic on this one :)

Looks like Dan already pushed a shorter stop-gap patch, but ACK if you'd
like to push this one as a more complete version.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111123/6ec0da1c/attachment-0001.sig>


More information about the libvir-list mailing list