]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: refuse credentials with invalid names matching with glob 33916/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 3 Aug 2024 05:25:16 +0000 (14:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 3 Aug 2024 05:25:35 +0000 (14:25 +0900)
commit74d1ee03737e285b15bfe95a623ff67603ab34f3
treedf0c6e1003ae9bb0427f69acb591f615cd038945
parentb376dbc83dd7243f85ffe876068418cdd8d097bf
core: refuse credentials with invalid names matching with glob

Even if the glob pattern is valid, the pattern may match credentials
with invalid names. So, we need to check the names of the found
credentials.

Follow-up for 947c4d3952e30604b97f657dca08f93a0a8f4bae.
src/core/exec-credential.c
test/units/TEST-54-CREDS.sh