]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: check load options a little more carefully
authorThomas Mühlbacher <tmuehlbacher@posteo.net>
Thu, 16 Oct 2025 12:56:52 +0000 (14:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Oct 2025 08:28:41 +0000 (10:28 +0200)
commit226e050a0d3b8b352deb101040ccf3f34c9c58fc
tree458138ac9d82db2ef664dfe8d0f591bddc763180
parent942ad8503a2025a8e6d3597fe6a00da652b93354
stub: check load options a little more carefully

This can lead to booting with a completely garbled command line with characters
being interpreted as miscellaneous CJK or symbols.

According to the UEFI spec, the optional data of the load option is just a
binary data buffer.
src/boot/stub.c