Re: [PATCH 4/7] smbios: string table always needs two terminating NUL bytes

2024-02-01 Thread Ilias Apalodimas
On Mon, 29 Jan 2024 at 23:05, Heinrich Schuchardt wrote: > > The string section of the different SMBIOS structures is always terminated > by two NUL bytes even if there is no string at all. This is described in > section 6.1.3 "Text string" of the SMBIOS 3.7.0 specification. > > Signed-off-by: Hei

Re: [PATCH 4/7] smbios: string table always needs two terminating NUL bytes

2024-01-31 Thread Heinrich Schuchardt
On 31.01.24 18:15, Matthias Brugger wrote: On Mon, Jan 29, 2024 at 10:04:50PM +0100, Heinrich Schuchardt wrote: The string section of the different SMBIOS structures is always terminated by two NUL bytes even if there is no string at all. This is described in section 6.1.3 "Text string" of the S

Re: [PATCH 4/7] smbios: string table always needs two terminating NUL bytes

2024-01-31 Thread Matthias Brugger
On Mon, Jan 29, 2024 at 10:04:50PM +0100, Heinrich Schuchardt wrote: > The string section of the different SMBIOS structures is always terminated > by two NUL bytes even if there is no string at all. This is described in > section 6.1.3 "Text string" of the SMBIOS 3.7.0 specification. > > Signed-o

[PATCH 4/7] smbios: string table always needs two terminating NUL bytes

2024-01-29 Thread Heinrich Schuchardt
The string section of the different SMBIOS structures is always terminated by two NUL bytes even if there is no string at all. This is described in section 6.1.3 "Text string" of the SMBIOS 3.7.0 specification. Signed-off-by: Heinrich Schuchardt --- lib/smbios.c | 3 +++ 1 file changed, 3 insert