Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package u-boot for openSUSE:Factory checked in at 2021-03-21 23:19:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/u-boot (Old) and /work/SRC/openSUSE:Factory/.u-boot.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "u-boot" Sun Mar 21 23:19:22 2021 rev:145 rq:879864 version:2021.01 Changes: -------- --- /work/SRC/openSUSE:Factory/u-boot/u-boot.changes 2021-03-10 08:49:19.778398136 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new.2401/u-boot.changes 2021-03-21 23:19:25.748719852 +0100 @@ -1,0 +2,9 @@ +Wed Mar 17 11:46:02 UTC 2021 - Matthias Brugger <mbrug...@suse.com> + +Fix SMBIOS tables without a string present (bsc#1183079) + +Patch queue updated from https://github.com/openSUSE/u-boot.git tumbleweed-2021.01 +* Patches added: + 0034-smbios-Fix-table-whit-no-string-is-.patch + +------------------------------------------------------------------- New: ---- 0034-smbios-Fix-table-whit-no-string-is-.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ u-boot.spec ++++++ --- /var/tmp/diff_new_pack.SogVJm/_old 2021-03-21 23:19:26.724720187 +0100 +++ /var/tmp/diff_new_pack.SogVJm/_new 2021-03-21 23:19:26.728720189 +0100 @@ -257,6 +257,7 @@ Patch0031: 0031-efi_loader-Avoid-emitting-efi_var_b.patch Patch0032: 0032-configs-BPI-R2-Disable-EFI-Grub-wor.patch Patch0033: 0033-configs-RPi2-Disable-EFI-Grub-worka.patch +Patch0034: 0034-smbios-Fix-table-whit-no-string-is-.patch # Patches: end BuildRequires: bc BuildRequires: bison ++++++ 0034-smbios-Fix-table-whit-no-string-is-.patch ++++++ >From 62b45b6d77924c396a59caac252169ccf7ef525a Mon Sep 17 00:00:00 2001 From: Matthias Brugger <mbrug...@suse.com> Date: Wed, 17 Mar 2021 12:43:03 +0100 Subject: [PATCH] smbios: Fix table whit no string is present When no string is present a table has to end with two \0 bytes. Take this into account. This is a downstream fix. Signed-off-by: Matthias Brugger <mbrug...@suse.com> --- lib/smbios.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/smbios.c b/lib/smbios.c index 485a812c77..c68d19e12b 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -105,6 +105,10 @@ static int smbios_string_table_len(char *start) len += i; } + /* A table without a string has to end with \0\0 */ + if (len == 0) + return 2; + return len + 1; }