error: Crash of qemu-img/qemu-io on the qcow2 image with large values in 'incompatible features' field

Bug #1342704 reported by Maria Kustova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

qemu-io and qemu-img fails with an assertion (see below) at attempt to interact with the qcow2 image having large values in the 'incompatible features' header field.

   util/error.c:34: error_set: Assertion `*errp == ((void *)0)' failed.

The backtrace file and the test image can be found in the attachment. The backtraces are for the next command:

  qemu-img check -f qcow2 test_image

The image was generated by the qcow2 image fuzzer.

qemu.git head: 5a7348045091a2bc15

Revision history for this message
Maria Kustova (maria-k-o) wrote :
Revision history for this message
Stefan Hajnoczi (stefanha) wrote :

Fixed:

commit 12ac6d3db721a288c8953c5c253230aa0949a0e1
Author: Kevin Wolf <email address hidden>
Date: Thu Jul 17 11:41:53 2014 +0200

    qcow2: Fix error path for unknown incompatible features

Changed in qemu:
status: New → Fix Committed
Thomas Huth (th-huth)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.