Date: Wed, 09 Jun 2021 15:49:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 256502] cpucontrol: fix extended signature matching code Message-ID: <bug-256502-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256502 Bug ID: 256502 Summary: cpucontrol: fix extended signature matching code Product: Base System Version: Unspecified Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: dnelson_1901@yahoo.com Created attachment 225663 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225663&action= =3Dedit diff There's a bug in the code that checks to see if a firmware file matches the running cpu that results in firmware files with an extended signature table always matching. Luckily the kernel ends up failing the update so no harm = is done. The attached patch makes the code always fail if no match is found, instead of accidentally falling through to the "matched:" label. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256502-227>