]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
core: fix undefined behaviour due to uninitialized string buffer (#7597)
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Sun, 10 Dec 2017 10:58:01 +0000 (10:58 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Dec 2017 10:58:01 +0000 (19:58 +0900)
commit0fd402b012523306da275fbfec097955ac073e66
treeb30cb47b21b05ccb78dcf5f1e6ff86ef61950d4d
parentf7757a49937dd47622de24a6f6a89e86920e869f
core: fix undefined behaviour due to uninitialized string buffer (#7597)

Failure of systemd to respond on the bus interface was bisected to af6b0ecc
"core: make "taint" string logic a bit more generic and output it at boot".

Failure was presumably caused by trying to append strings to an
unintialized buffer, leading to writing outside the unterminated buffer
and hence undefined behaviour.
src/core/manager.c