diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-03-22 19:31:31 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-03-22 19:35:25 +0100 |
commit | 374c356979ba7222fa7e09005824fe6996b0e91e (patch) | |
tree | c6498deae329785c2eb1ebe6766e392ecfe8a5d5 /TODO | |
parent | 23aedd029452b65c11b6eb838e44f60be1c66814 (diff) |
sd-bus: mark sd_bus_unref() as broken regarding self-refs
If you allocate a message with bus==NULL and then unref the main bus,
it will free your message underneath and your program will go boom!
To fix that, we really need to figure out what the semantics for
self-references (m->bus) should be and when/where/what accesses are
actually allowed.
Same is true for the pseudo-thread-safety we employ..
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,9 @@ Bugfixes: * systemctl --root=container/ set-default ... is totally borked. +* sd_bus_unref() is broken regarding self-references and "pseudo thread-safety". + See the comment in sd_bus_unref() for more.. + External: * Fedora: when installing fedora with yum --installroot /var/run is a directory, not a symlink |