]> git.ipfire.org Git - thirdparty/systemd.git/commit
efi-string: Fix strchr() null byte handling
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 30 Jan 2023 15:22:10 +0000 (16:22 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 22 Feb 2023 15:55:07 +0000 (16:55 +0100)
commitbbef5a9617e91b4b1bc30266eb9dcbda395a8c61
tree4585cfe4b92d996ad254ca54f2ef8c497b2e0819
parent921330af404620b28c57f97efaec735bca002ecd
efi-string: Fix strchr() null byte handling

strchr() should be able to search for the terminating null byte,
our implementation doesn't, let's fix that.
src/boot/efi/efi-string.c
src/boot/efi/test-efi-string.c