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-sta...@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