]> git.ipfire.org Git - thirdparty/systemd.git/commit
bless-boot: switch from last_path_component() to path_find_last_component()
authorLennart Poettering <lennart@poettering.net>
Wed, 7 May 2025 13:23:00 +0000 (15:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 May 2025 11:04:16 +0000 (13:04 +0200)
commit7a8372a9f1380d5e178accc3d5379dd2857da33a
tree12506837c8912bbb1428fd533cc74e86791ea7a2
parentaefdbacff82e10900eae2971ccf7fbeaeab702cc
bless-boot: switch from last_path_component() to path_find_last_component()

Using path_find_last_component() means special cases such as the root dir
and paths referencing dirs are detected and refused.
src/bless-boot/bless-boot.c