All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Is the use of bdrv_getlength() in vhdx*.c kosher?
@ 2017-08-04 12:49 Markus Armbruster
  2017-08-04 14:35 ` Jeff Cody
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Armbruster @ 2017-08-04 12:49 UTC (permalink / raw)
  To: Jeff Cody; +Cc: qemu-devel, qemu-block, Kevin Wolf

bdrv_getlength() can fail.  There are several calls in vhdx*.c that
don't seem to check.  Bug or not?

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

* Re: [Qemu-devel] Is the use of bdrv_getlength() in vhdx*.c kosher?
  2017-08-04 12:49 [Qemu-devel] Is the use of bdrv_getlength() in vhdx*.c kosher? Markus Armbruster
@ 2017-08-04 14:35 ` Jeff Cody
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Cody @ 2017-08-04 14:35 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: qemu-devel, qemu-block, Kevin Wolf

On Fri, Aug 04, 2017 at 02:49:42PM +0200, Markus Armbruster wrote:
> bdrv_getlength() can fail.  There are several calls in vhdx*.c that
> don't seem to check.  Bug or not?


Most definitely a bug.  Shall I queue up some patches, or do you already
have some?

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

end of thread, other threads:[~2017-08-04 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04 12:49 [Qemu-devel] Is the use of bdrv_getlength() in vhdx*.c kosher? Markus Armbruster
2017-08-04 14:35 ` Jeff Cody

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.