qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] block: vhdx - fix reading beyond pointer during


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] block: vhdx - fix reading beyond pointer during image creation
Date: Fri, 19 Sep 2014 10:45:20 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Sep 16, 2014 at 03:12:06PM -0400, Jeff Cody wrote:
> In vhdx_create_metadata(), we allocate 40 bytes to entry_buffer for
> the various metadata table entries.  However, we write out 64kB from
> that buffer into the new file.  Only write out the correct 40 bytes.
> 
> Signed-off-by: Jeff Cody <address@hidden>
> ---
>  block/vhdx.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Attachment: pgpmrBGTh3fVY.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]