[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] scsi: megasas: null terminate bios version buff
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] scsi: megasas: null terminate bios version buffer |
Date: |
Tue, 7 Jun 2016 15:06:47 +0100 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Tue, Jun 07, 2016 at 04:44:03PM +0530, P J P wrote:
> From: Prasad J Pandit <address@hidden>
>
> While reading information via 'megasas_ctrl_get_info' routine,
> a local bios version buffer isn't null terminated. Add the
> terminating null byte to avoid any OOB access.
>
> Reported-by: Li Qiang <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>
> ---
> hw/scsi/megasas.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature