]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/uefi: open json file in binary mode
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Aug 2025 13:01:10 +0000 (15:01 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 12 Aug 2025 06:03:16 +0000 (08:03 +0200)
commit040237436f423253f3397547aa78d449394dfbca
tree52cbfaa7fc1801f62051ca42238ac785fabceac8
parentfc8ee8fe58ad410f27fca64e4ad212c5a3eabe00
hw/uefi: open json file in binary mode

Fixes file length discrepancies due to line ending conversions
on windows hosts.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3058
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20250811130110.820958-4-kraxel@redhat.com>
hw/uefi/var-service-json.c