Re: [PULL 1/8] smbios: Fix buffer overrun when using path= option

2025-04-17 Thread Philippe Mathieu-Daudé
Hi Daan, On 17/4/25 12:11, Daan De Meyer wrote: CC-ing qemu-stable again to hopefully get this backported to the stable branches. Cheers, Daan On Tue, 8 Apr 2025 at 20:55, Philippe Mathieu-Daudé wrote: From: Daan De Meyer We have to make sure the array of bytes read from the path= file i

Re: [PULL 1/8] smbios: Fix buffer overrun when using path= option

2025-04-17 Thread Daan De Meyer
Apologies, I was unsure whether I should expect a reply on the original mail after the patch had been applied to stable or not. Thanks for the confirmation, Cheers, Daan On Thu, 17 Apr 2025 at 15:05, Michael Tokarev wrote: > > 17.04.2025 13:11, Daan De Meyer wrote: > > CC-ing qemu-stable again

Re: [PULL 1/8] smbios: Fix buffer overrun when using path= option

2025-04-17 Thread Michael Tokarev
17.04.2025 13:11, Daan De Meyer wrote: CC-ing qemu-stable again to hopefully get this backported to the stable branches. Hmm. I picked it up from the first time, see eg https://gitlab.com/qemu-project/qemu/-/commits/staging-9.2 (in particular, commit d1960fafecbe1066). I'm curious, why do you

Re: [PULL 1/8] smbios: Fix buffer overrun when using path= option

2025-04-17 Thread Daan De Meyer
CC-ing qemu-stable again to hopefully get this backported to the stable branches. Cheers, Daan On Tue, 8 Apr 2025 at 20:55, Philippe Mathieu-Daudé wrote: > > From: Daan De Meyer > > We have to make sure the array of bytes read from the path= file > is null-terminated, otherwise we run into a b

[PULL 1/8] smbios: Fix buffer overrun when using path= option

2025-04-08 Thread Philippe Mathieu-Daudé
From: Daan De Meyer We have to make sure the array of bytes read from the path= file is null-terminated, otherwise we run into a buffer overrun later on. Fixes: bb99f4772f54017490e3356ecbb3df25c5d4537f ("hw/smbios: support loading OEM strings values from a file") Resolves: https://gitlab.com/qe