qemu_malloc() broken by design, fix it already (was: [Qemu-devel] [PATCH] qcow2: Fix some more qemu_malloc fallout)

2009-11-27 Thread Markus Armbruster
Kevin Wolf writes: > Oh joy... As predicted, breaking malloc() the way we did breaks perfectly fine code for no particular benefit. We can keep chasing these artificially created bugs, or we can fix qemu_malloc() & friends and be done with it.

[Qemu-devel] [PATCH] qcow2: Fix some more qemu_malloc fallout

2009-11-27 Thread Kevin Wolf
Oh joy... Signed-off-by: Kevin Wolf --- block/qcow2-refcount.c | 22 +++--- block/qcow2-snapshot.c |7 ++- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 3026678..54b19f8 100644 --- a/block/qcow2-ref