PSA: If you are C/C++ developer, use cppcheck
Daniel P. Berrange
berrange at redhat.com
Tue Dec 17 17:47:03 UTC 2013
On Tue, Dec 17, 2013 at 12:17:00PM -0500, Rahul Sundaram wrote:
> Hi
>
> In the last few days, I have been running cppcheck on quite a few programs
> including systemd, transmission, libvirt, ndjbdns etc and cppcheck has
> found real and potential bugs (null pointer dereferences, uninitialized
> variables, memory & resource leaks etc) in each of them. I have reported
> the ones I found and several developers have already fixed the issues. A
> couple of examples
The issues reported against libvirt all appear to be false positives.
Not entirely surprising since we already have coverity run against
libvirt code nightly.
Of course, if you don't have access to coverity then it is likely to be
worth using cppcheck
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the devel
mailing list