diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2025-03-19 15:11:54 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2025-03-21 12:00:38 +0100 |
| commit | ae24cf139ba681f8ce3dc809f3f1119b16c73043 (patch) | |
| tree | 7d682ab8e1eb34dae4b6272469c0305137a721d8 /hw/riscv/virt.c | |
| parent | 560429fd746adf04b57237c3c4a38ecfd906c592 (diff) | |
| download | focaccia-qemu-ae24cf139ba681f8ce3dc809f3f1119b16c73043.tar.gz focaccia-qemu-ae24cf139ba681f8ce3dc809f3f1119b16c73043.zip | |
hw/uefi: fix error handling in uefi_vars_json_save
Catch lseek errors. Return on errors. Use autoptr for the GString to simplify cleanup. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-ID: <20250319141159.1461621-3-kraxel@redhat.com>
Diffstat (limited to 'hw/riscv/virt.c')
0 files changed, 0 insertions, 0 deletions