]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-daemon: escape special characters in notification logging text
authorMike Yuan <me@yhndnzj.com>
Tue, 10 Feb 2026 14:58:06 +0000 (15:58 +0100)
committerMike Yuan <me@yhndnzj.com>
Tue, 10 Feb 2026 20:53:39 +0000 (21:53 +0100)
commitf9e0a62392fa62364bb7ac31a1cd4a8cc521cced
tree7db3b8669de0398d6e9ed2894dce5faca8bb06cd
parent14af94428a6eb8d140391db22f29c48e090ac55e
sd-daemon: escape special characters in notification logging text

Follow-up for 21eb636aaad28707bd371bdfd721dea66277e1f5

Our sd_notify() protocol uses newline as separator, which
is not suitable for direct logging.
src/libsystemd/sd-daemon/sd-daemon.c