]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: be more careful when opening arbitrary files from ESP
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Jun 2025 11:59:04 +0000 (13:59 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 25 Jun 2025 17:17:42 +0000 (18:17 +0100)
commitc2d343b920d22d980127ff083991d2f8ffdc591c
tree62b50c1692f7616af4ffa8345d4db0a40b01c9e5
parentaf6273bc34a40eca5c221af96d6f997d8745b0d2
bootctl: be more careful when opening arbitrary files from ESP

Let's refuse all kind of weird stuff early.

As suggested here: https://github.com/systemd/systemd/pull/30418#pullrequestreview-2128220792

(cherry picked from commit 95df8288c7dff8a95b86d48787ad03ae9bd5f5ed)
(cherry picked from commit 5b68d2a003b4708b113087261dcb3f4604dfc9f0)
src/boot/bootctl-install.c