qemu-img: Fix segfault during rebase
authorKevin Wolf <kwolf@redhat.com>
Wed, 17 Feb 2010 11:32:59 +0000 (12:32 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Feb 2010 21:53:54 +0000 (15:53 -0600)
commit6d67a91946a1e295f261fb15ea50fee4ecfbd65c
tree35787b457af94a947b4f37f71d8c2fcc32b5b0df
parentb3b4e951a0e97db2f00db40094fff3ac3b916355
qemu-img: Fix segfault during rebase

This fixes a possible read beyond the end of the temporary buffers used for
comparing data in the old and the new backing file.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-img.c