summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-10-12 14:44:26 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:58:55 +0200
commitdfbbceed38d59315271e2a7397c1f387a64c451b (patch)
treeab3b2e5db661fb7556c73b19d08f5c5b2bf3b6fd /src/login/logind-dbus.c
parentc221e39a6dce308a639185833310b995aad1fc56 (diff)
sd-daemon: wipe out memory before using CMSG_NXTHDR()
CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer. While this makes sense for parsing received messages, that's a pitfall for code crafting messages with this macro. Wipe out the allocated memory to fix this.
Diffstat (limited to 'src/login/logind-dbus.c')
0 files changed, 0 insertions, 0 deletions