diff options
| author | Jan Setje-Eilers <jan.setjeeilers@oracle.com> | 2021-03-26 21:19:14 -0700 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-03-27 18:47:59 -0400 |
| commit | ca034e15aa15aa43c78ff6203feec8423b814047 (patch) | |
| tree | 0c425dac53a5d74ba5ecab8dd7b47dabfb8a9803 /csv.c | |
| parent | 08a0ce01dbe9945287f37a9b139b25f46c53f878 (diff) | |
| download | efi-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 'csv.c')
0 files changed, 0 insertions, 0 deletions
