commit | ae24cf139ba681f8ce3dc809f3f1119b16c73043 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Mar 19 15:11:54 2025 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Fri Mar 21 12:00:38 2025 +0100 |
tree | 7d682ab8e1eb34dae4b6272469c0305137a721d8 | |
parent | 560429fd746adf04b57237c3c4a38ecfd906c592 [diff] |
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>