Am 21.01.2012 13:54, schrieb Stefan Weil: > The new block was filled with zero when it was allocated by g_malloc0, > but when it was reused later and only partially used, data from the > previously allocated block were still present and written to the new > block. > > This caused the problems reported by bug #919242 > (https://bugs.launchpad.net/qemu/+bug/919242). > > Now the unused parts of the new block which are before and after the data > are always filled with zero, so it is no longer necessary to zero the whole > block with g_malloc0. > > I also updated the copyright comment. > > Signed-off-by: Stefan Weil <s...@weilnetz.de>
Thanks, applied to the block branch (this is not trivial!) Kevin