]> git.ipfire.org Git - thirdparty/systemd.git/commit
exec-invoke: extend comment on placement of apply_working_directory() call
authorLennart Poettering <lennart@poettering.net>
Mon, 5 Feb 2024 14:42:46 +0000 (15:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Feb 2024 10:13:28 +0000 (11:13 +0100)
commita13fb98ba76cfad4dcc8f68530d06b4a9b633e0b
treedc5d2188497ecb88a4cc95ddfd6f5bb2194d8166
parent0d1332841e96526a713c71d8618939b2443107b5
exec-invoke: extend comment on placement of apply_working_directory() call

Inspired by CVE-2024-21626, let's add a longer comment explaining why
the code really shouldn#t be moved any earlier.

Just in the hope that anyone who feels tempted to move this around maybe
actually reads the comment and reconsiders.
src/core/exec-invoke.c