]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: avoid buffer overrun in efi_var_mem_compare
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 13 Feb 2023 18:22:33 +0000 (19:22 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 19 Feb 2023 20:15:15 +0000 (21:15 +0100)
commit67af329a741b546986be2f3b18933f8c8b373bed
tree714096371059d0da561924d71d605cbf99c373fc
parent093ff96e741d5754e2c895a367fce06ae4464d16
efi_loader: avoid buffer overrun in efi_var_mem_compare

We should not scan beyond the end of string name.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_var_mem.c