libvirt/src/interface
Martin Kletzander c664015fe3 Fix off-by-one error in udevListInterfacesByStatus
Ever since this function was introduced in 2012 it could've tried
filling in an extra interface name.  That was made worse in 2019 when
the caller functions started accepting NULL arrays of size 0.

This is assigned CVE-2024-1441.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reported-by: Alexander Kuznetsov <kuznetsovam@altlinux.org>
Fixes: 5a33366f5c
Fixes: d6064e2759
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-03-01 11:52:27 +01:00
..
interface_backend_netcf.c interface: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
interface_backend_udev.c Fix off-by-one error in udevListInterfacesByStatus 2024-03-01 11:52:27 +01:00
interface_driver.c Use K&R style for curly braces in remaining files 2014-03-20 17:27:17 +01:00
interface_driver.h src/interface: use #pragma once in headers 2019-06-13 17:05:09 +02:00
meson.build systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00
virtinterfaced.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtinterfaced.service.extra.in systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00
virtinterfaced.socket.extra.in systemd: Set service_extra_in/socket_extra_in everywhere 2023-10-25 12:19:32 +02:00