> Date: Sun, 2 Mar 2025 15:18:07 +0300
> From: Vladimir Serbinenko
>
> On unknown partition types we end up dereferencing
> a random pointer. Instead ensure that pointer is NULL
> and skip it when it's NULL
Thanks, I've filed PR port-amd64/59120: `x86 efiboot:
uninitialized/null pointer deref w
On unknown partition types we end up dereferencing
a random pointer. Instead ensure that pointer is NULL
and skip it when it's NULL
---
sys/arch/i386/stand/efiboot/efidisk.c | 2 +-
sys/arch/i386/stand/lib/biosdisk.c| 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/arch/