[Bug 256502] cpucontrol: fix extended signature matching code

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Jun 2021 15:49:03 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256502

            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_at_FreeBSD.org
          Reporter: dnelson_1901_at_yahoo.com

Created attachment 225663
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225663&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 09 2021 - 15:49:03 UTC

Original text of this message