summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-creds.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-10-07 11:32:07 +0200
committerDaniel Mack <daniel@zonque.org>2014-10-07 11:38:31 +0200
commitca794c8e9583eb660f535af32c8c8281a284f270 (patch)
tree82e99eb89e2ee85fc730328ee099da1a53d445e2 /src/libsystemd/sd-bus/bus-creds.c
parent4e3deeedc15b03197d591850061316289245c9a9 (diff)
sd-bus: fix use-after-free in close_kdbus_msg()
Walk the items first, then free the memory of the message. Also, while at it, make coverity happy with an explicit (void) prefix. We intentionally ignore the return value here.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-creds.c')
0 files changed, 0 insertions, 0 deletions