syslogd: Fix RFC5424 structured-data parser
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
22c3fa9fa3
commit
cc96379252
@ -922,6 +922,7 @@ parsemsg_rfc5424(const char *from, int pri, char *msg)
|
||||
FAIL_IF("STRUCTURED-NAME", start == msg); \
|
||||
} while (0)
|
||||
IF_NOT_NILVALUE(buffer.sd) {
|
||||
buffer.sd = msg;
|
||||
/* SD-ELEMENT. */
|
||||
while (*msg == '[') {
|
||||
++msg;
|
||||
|
Loading…
Reference in New Issue
Block a user