]> git.ipfire.org Git - thirdparty/systemd.git/commit
home: fix heap-use-after-free 21769/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Dec 2021 06:38:12 +0000 (15:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Dec 2021 11:00:56 +0000 (20:00 +0900)
commit2ff457720bd3bc59985e807b748f6305bdf27826
tree8584ba35de45f5c49299ea4d12b318cd8da14a15
parent76fc1577023b524302ea44e5bfffbd0074a2271d
home: fix heap-use-after-free

`bus_home_emit_remove()` may be called from manager_free() -> home_free().
In that case, manager->bus is already unref()ed.

Fixes #21767.
src/home/homed-home-bus.c