]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot/efi-string: check the end of haystack before testing remaining pattern 23688/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jun 2022 02:43:00 +0000 (11:43 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jun 2022 03:05:38 +0000 (12:05 +0900)
commitda5fb1877dca6ec713b70f7c8646b4233769d015
treebaab65b305bdb3f89a4838b77006899d9ba66ac6
parent8bf796eeac340cf2b13030bd6c0287ad4b63f48d
boot/efi-string: check the end of haystack before testing remaining pattern

Fixes buffer-overflow reported at https://github.com/systemd/systemd/pull/23589#issuecomment-1151820341.
src/boot/efi/efi-string.c
src/boot/efi/test-efi-string.c