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: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 0/3] vfio/pci: Fix buffer overrun when writing the VF token
Date: Fri, 27 Oct 2023 07:01:23 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 26/10/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+

Hopefully 8.2 shouldn't be affected ;)


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

Thanks,

C.




reply via email to

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