]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/uefi: check access for first variable
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Aug 2025 13:01:09 +0000 (15:01 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 12 Aug 2025 06:03:16 +0000 (08:03 +0200)
commitfc8ee8fe58ad410f27fca64e4ad212c5a3eabe00
tree18efe978f184c4c0efa73233f28945204cdf5344
parent88e5a28d5aabb57f44c1805fbba0a458023f5106
hw/uefi: check access for first variable

When listing variables (via get-next-variable-name) only the names of
variables which can be accessed will be returned.  That check was
missing for the first variable though.  Add it.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20250811130110.820958-3-kraxel@redhat.com>
hw/uefi/var-service-vars.c