mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
journald: one more SYSLOG_IDENTIFIER length fix
This commit is contained in:
parent
fca1b90a0d
commit
401cc72da8
@ -1234,7 +1234,7 @@ static void process_native_message(
|
||||
p[17] >= '0' && p[17] <= '9')
|
||||
priority = (priority & LOG_PRIMASK) | (((p[16] - '0')*10 + (p[17] - '0')) << 3);
|
||||
|
||||
else if (l >= 12 &&
|
||||
else if (l >= 19 &&
|
||||
memcmp(p, "SYSLOG_IDENTIFIER=", 18) == 0) {
|
||||
char *t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user