qemu-stable
[Top][All Lists]
Advanced

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

Re: [PATCH v2 0/3] vfio/pci: Fix buffer overrun when writing the VF toke


From: Cédric Le Goater
Subject: Re: [PATCH v2 0/3] vfio/pci: Fix buffer overrun when writing the VF token
Date: Mon, 30 Oct 2023 09:59:37 +0100
User-agent: Mozilla Thunderbird

On 10/26/23 16:00, Cédric Le Goater wrote:
On 10/26/23 09:06, Cédric Le Goater wrote:
Hello,

This series fixes a buffer overrun in VFIO. The buffer used in
vfio_realize() by qemu_uuid_unparse() is too small, UUID_FMT_LEN lacks
one byte for the trailing NUL.

Instead of adding + 1, as done elsewhere, the changes introduce a
UUID_STR_LEN define for the correct size and use it where required.

Cc: qemu-stable@nongnu.org # 8.1+

I propose to take this series in vfio-next if no one objects.


Applied to vfio-next.

Thanks,

C.




reply via email to

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