[libvirt] Updated patch for virt-login-shell for joing libvirt lxc containers.

Eric Blake eblake at redhat.com
Fri Aug 9 12:29:01 UTC 2013


On 08/09/2013 04:51 AM, John Ferlan wrote:

> 
> 88   	                    if (!ptr)
> 
> (4) Event dead_error_line: 	Execution cannot reach this statement "continue;".
> Also see events: 	[assignment][notnull][dead_error_condition]
> 
> 89   	                        continue;
> 
> Did you perhaps mean (!*ptr) (eg, the contents not the value?)

Ha - I caught that one earlier in the day by manual code inspection :)
https://www.redhat.com/archives/libvir-list/2013-August/msg00398.html

I also caught other instances of dead code not listed by Coverity,
although with less impact.

> 
> 
> #2: USE_AFTER_FREE: main()

But I missed that one, so Coverity is still proving useful.

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130809/c61d5cd0/attachment-0001.sig>


More information about the libvir-list mailing list