diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-07 12:14:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-10-07 12:14:33 +0200 |
commit | 875ca88da576b4f7c412f6a5e1fc642ba3bd288a (patch) | |
tree | 96af1a8b2692bee96f7e48619cfb92826abd77fd /units/systemd-journal-upload.service.in | |
parent | 045a3d5989f7565dc496013a9e96d95d86a12cc8 (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 'units/systemd-journal-upload.service.in')
0 files changed, 0 insertions, 0 deletions