Richard W.M. Jones
2011-Jun-09 10:41 UTC
[Libguestfs] Coverity: possible false positive in debug_qtrace
http://git.annexia.org/?p=libguestfs.git;a=blob;f=daemon/debug.c;h=cd3e8a5f0294a910782b38552d2b0757869f862c;hb=HEAD#l430 Coverity complains about the error path from posix_memalign (lines 477-482) saying that 'buf' will be leaked. However my reading of the posix_memalign man page is that if the return value from posix_memalign != 0 then 'buf' would not have been allocated. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
Seemingly Similar Threads
- Coverity: possible false positive in do_lxattrlist
- [PATCH febootstrap] Pull in febootstrap-supermin-helper (C version) from libguestfs.
- supermin appliances and host connectivity
- [PATCH 0/6] Various Coverity fixes #2
- NOTE: New location for libguestfs, hivex and febootstrap git repositories