]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: do not trigger assertion by a bad udev rules 30040/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Nov 2023 17:27:19 +0000 (02:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Nov 2023 17:32:12 +0000 (02:32 +0900)
commitaecedc48a6d178949d8f31c8c203d817ea8a119f
treea8990520b17e4f24da3106859828181e6e1a9c89
parentc0b927eb3ad800062fc6d6d38a4bf678f897974e
sd-device: do not trigger assertion by a bad udev rules

The assertion can be triggered by bad `$attr{[<subsys>/<sysname>]<attribute>}`
formatting. That's not a programmer's error, but a runtime error.

Prompted by #30029.
src/libsystemd/sd-device/sd-device.c