journald: process "binary" fields the same as text fields
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 15:59:47 +0000 (11:59 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 17:02:57 +0000 (13:02 -0400)
commit4b29a7f41fa1f418520d66362fd904a504f67c02
tree13805ee640a3cc9c0e994d63a982a9654cded7c5
parent68944f196bc85b067de71c4fe1631d824d0aded5
journald: process "binary" fields the same as text fields

MESSAGE=data\n and MESSAGE\n40000000data\n are both valid serializations, so
they should be stored in the journal. Before, MESSAGE, SYSLOG_FACILITY,
SYSLOG_IDENTIFIER, PRIORITY, and OBJECT_PID would be only honoured if they were
given in the first form.

Fixed #5973.
src/journal/journald-native.c