1
1
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:
Michal Schmidt 2012-05-21 20:21:49 +02:00
parent fca1b90a0d
commit 401cc72da8

View File

@ -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;