[PATCH] hw/smbios/smbios.c: Add missing NUL terminal to string from path= parameter

2025-04-05 Thread Valentin David
Without it, it seems the data gets garbage at the end of the string. Signed-off-by: Valentin David --- hw/smbios/smbios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c index 02a09eb9cd..7522e9a172 100644 --- a/hw/smbios/smbios.c +++ b/hw/smbios/smbio

Re: [PATCH] hw/smbios/smbios.c: Add missing NUL terminal to string from path= parameter

2025-03-26 Thread Daniel P . Berrangé
On Wed, Mar 26, 2025 at 04:52:54PM +0100, Valentin David wrote: > Without it, it seems the data gets garbage at the end of the string. > > Signed-off-by: Valentin David > --- > hw/smbios/smbios.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c >