From 374c356979ba7222fa7e09005824fe6996b0e91e Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sat, 22 Mar 2014 19:31:31 +0100 Subject: 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.. --- TODO | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index b894e235ed..03e72336c9 100644 --- a/TODO +++ b/TODO @@ -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 -- cgit v1.2.3-54-g00ecf