qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/pc.c: Fix use-while-uninitialized of fd_type


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] hw/pc.c: Fix use-while-uninitialized of fd_type[]
Date: Thu, 10 Nov 2011 14:04:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

Am 09.11.2011 22:59, schrieb Peter Maydell:
> Fix a use-while-uninitialized of the fd_type[] array (introduced
> in commit 34d4260e1, noticed by Coverity). This is more theoretical
> than practical, since it's quite hard to get here with floppy==NULL
> (the qdev_try_create() of the isa-fdc device has to fail).
> 
> Signed-off-by: Peter Maydell <address@hidden>

Thanks, applied to the block-stable branch (for 1.0)

Kevin



reply via email to

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