« Previous | Next » 

Revision 8d2497c3

ID8d2497c3552e19a60e7a75d20976471ecb2a8e2b

Added by Kevin Wolf over 11 years ago

qcow2: Fix segfault on zero-length write

One of the recent refactoring patches (commit f50f88b9) didn't take care
to initialise l2meta properly, so with zero-length writes, which don't
even enter the write loop, qemu just segfaulted.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences