Re: [PATCH] firmware: dmi: Stop decoding on broken entry

2024-04-17 Thread Michael Schierl
Hello, Am 17.04.2024 um 17:33 schrieb Jean Delvare: If a DMI table entry is shorter than 4 bytes, it is invalid. Due to how DMI table parsing works, it is impossible to safely recover from such an error, so we have to stop decoding the table. Signed-off-by: Jean Delvare Link: https://lore.ke

RE: [PATCH] firmware: dmi: Stop decoding on broken entry

2024-04-17 Thread Michael Kelley
From: Jean Delvare Sent: Wednesday, April 17, 2024 10:34 AM > > Hi Michael, > > On Wed, 2024-04-17 at 15:43 +, Michael Kelley wrote: > > From: Jean Delvare Sent: Wednesday, April 17, 2024 8:34 > > AM > > > > > > If a DMI table entry is shorter than 4 bytes, it is invalid. Due to > > > how

Re: [PATCH] firmware: dmi: Stop decoding on broken entry

2024-04-17 Thread Jean Delvare
Hi Michael, On Wed, 2024-04-17 at 15:43 +, Michael Kelley wrote: > From: Jean Delvare Sent: Wednesday, April 17, 2024 8:34 AM > > > > If a DMI table entry is shorter than 4 bytes, it is invalid. Due to > > how DMI table parsing works, it is impossible to safely recover from > > such an error

RE: [PATCH] firmware: dmi: Stop decoding on broken entry

2024-04-17 Thread Michael Kelley
From: Jean Delvare Sent: Wednesday, April 17, 2024 8:34 AM > > If a DMI table entry is shorter than 4 bytes, it is invalid. Due to > how DMI table parsing works, it is impossible to safely recover from > such an error, so we have to stop decoding the table. > > Signed-off-by: Jean Delvare > Lin

[PATCH] firmware: dmi: Stop decoding on broken entry

2024-04-17 Thread Jean Delvare
If a DMI table entry is shorter than 4 bytes, it is invalid. Due to how DMI table parsing works, it is impossible to safely recover from such an error, so we have to stop decoding the table. Signed-off-by: Jean Delvare Link: https://lore.kernel.org/linux-kernel/Zh2K3-HLXOesT_vZ@liuwe-devbox-debi