qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] could somebody who understands the block refcounting look at CID 1395870, CID 1395871?
@ 2018-10-29 10:51 Peter Maydell
  2018-10-29 16:35 ` [Qemu-devel] [Qemu-block] " Max Reitz
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Maydell @ 2018-10-29 10:51 UTC (permalink / raw)
  To: QEMU Developers, Qemu-block

Hi; could somebody who understands the block layer refcounting have
a look at Coverity issues CID 1395870 and 1395871, please? In both
cases, Coverity reports a use-after-free because it thinks that a
sequence where a code path might (conditionally) end up calling
blk_deref() twice could be freeing the memory in the first call
and using it after. I'm not sure whether these are false positives
because the refcounting has confused Coverity, or genuine issues where
we have got refcounting logic wrong, so I don't know if we need a
fix or if we should squash the coverity bug as a false-positive...

thanks
-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-29 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-29 10:51 [Qemu-devel] could somebody who understands the block refcounting look at CID 1395870, CID 1395871? Peter Maydell
2018-10-29 16:35 ` [Qemu-devel] [Qemu-block] " Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).