]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal-remote: set a limit on the number of fields in a message 11374/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Dec 2018 09:48:10 +0000 (10:48 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 Jan 2019 22:44:17 +0000 (23:44 +0100)
commitef4d6abe7c7fab6cbff975b32e76b09feee56074
treea0b35f676645c254dba01a4642f6aca22e38122f
parent7fdb237f5473cb8fc2129e57e8a0039526dcb4fd
journal-remote: set a limit on the number of fields in a message

Existing use of E2BIG is replaced with ENOBUFS (entry too long), and E2BIG is
reused for the new error condition (too many fields).

This matches the change done for systemd-journald, hence forming the second
part of the fix for CVE-2018-16865
(https://bugzilla.redhat.com/show_bug.cgi?id=1653861).
src/journal-remote/journal-remote-main.c
src/journal-remote/journal-remote.c
src/shared/journal-importer.c