summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-03-22 19:31:31 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-03-22 19:35:25 +0100
commit374c356979ba7222fa7e09005824fe6996b0e91e (patch)
treec6498deae329785c2eb1ebe6766e392ecfe8a5d5 /src/libudev/libudev.h
parent23aedd029452b65c11b6eb838e44f60be1c66814 (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 'src/libudev/libudev.h')
0 files changed, 0 insertions, 0 deletions