commit | e01fa9f8faaebda55413287883ce9e8347a9b985 | [log] [tgz] |
---|---|---|
author | Matthias Brugger <mbrugger@suse.com> | Tue Apr 06 11:04:35 2021 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Feb 02 19:56:54 2024 +0100 |
tree | b472c810f5ad5d6e97520dea29a21fefff73db7f | |
parent | baf24c7f0815e010f4791781aa7f60634da347af [diff] |
smbios: Fix table when no string is present When no string is present in a table, next_ptr points to the same location as eos. When calculating the string table length, we would only reserve one \0. By spec a SMBIOS table has to end with two \0\0 when no strings a present. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>