summaryrefslogtreecommitdiff
path: root/src/core/dbus-timer.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-07 12:14:33 +0200
committerLennart Poettering <lennart@poettering.net>2016-10-07 12:14:33 +0200
commit875ca88da576b4f7c412f6a5e1fc642ba3bd288a (patch)
tree96af1a8b2692bee96f7e48619cfb92826abd77fd /src/core/dbus-timer.c
parent045a3d5989f7565dc496013a9e96d95d86a12cc8 (diff)
manager: tighten incoming notification message checks
Let's not accept datagrams with embedded NUL bytes. Previously we'd simply ignore everything after the first NUL byte. But given that sending us that is pretty ugly let's instead complain and refuse. With this change we'll only accept messages that have exactly zero or one NUL bytes at the very end of the datagram.
Diffstat (limited to 'src/core/dbus-timer.c')
0 files changed, 0 insertions, 0 deletions