summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJan Setje-Eilers <jan.setjeeilers@oracle.com>2021-03-26 21:19:14 -0700
committerPeter Jones <pjones@redhat.com>2021-03-27 18:47:59 -0400
commitca034e15aa15aa43c78ff6203feec8423b814047 (patch)
tree0c425dac53a5d74ba5ecab8dd7b47dabfb8a9803 /lib
parent08a0ce01dbe9945287f37a9b139b25f46c53f878 (diff)
downloadefi-boot-shim-ca034e15aa15aa43c78ff6203feec8423b814047.tar.gz
efi-boot-shim-ca034e15aa15aa43c78ff6203feec8423b814047.zip
Fix SBAT variable content validation.
Currently, the check for the contents of the SBAT variable has an inverted strncmp() test, causing it to delete the variable inappropriately. This patch fixes that check, preventing shim from always stepping on the sbat variable, and adds test cases to validate the correct logic. Signed-off-by: Jan Setje-Eilers <jan.setjeeilers@oracle.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions