Re: [PATCH v2] smbios: Fix table when no string is present

2024-01-31 Thread Heinrich Schuchardt
On 4/7/21 18:14, Simon Glass wrote: Hi Matthias, On Tue, 6 Apr 2021 at 21:04, wrote: From: Matthias Brugger 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 t

Re: [PATCH v2] smbios: Fix table when no string is present

2021-04-07 Thread Simon Glass
Hi Matthias, On Tue, 6 Apr 2021 at 21:04, wrote: > > From: Matthias Brugger > > 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 >

[PATCH v2] smbios: Fix table when no string is present

2021-04-06 Thread matthias . bgg
From: Matthias Brugger 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 --- Chan