diff options
author | Daniel Mack <github@zonque.org> | 2015-09-09 15:12:28 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-09 15:12:28 +0200 |
commit | d7acddde057d25a4fb7835943ef3c73f262ba54f (patch) | |
tree | cb6e0ab245a4ed43f1367b8164b8022f0e77fc13 /src/journal/journald-native.c | |
parent | 02736a9abce02eb53b0d504f96fc7b3e4f077020 (diff) | |
parent | 57255510c95ca3369d241502f26d7bbd8fac30a6 (diff) |
Merge pull request #1216 from poettering/coccinelle-fixes-2
Coccinelle fixes 2
Diffstat (limited to 'src/journal/journald-native.c')
-rw-r--r-- | src/journal/journald-native.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c index da3faef93e..3e8a7a05f6 100644 --- a/src/journal/journald-native.c +++ b/src/journal/journald-native.c @@ -184,6 +184,7 @@ void server_process_native_message( free(identifier); identifier = t; } + } else if (l >= 8 && startswith(p, "MESSAGE=")) { char *t; @@ -193,6 +194,7 @@ void server_process_native_message( free(message); message = t; } + } else if (l > strlen("OBJECT_PID=") && l < strlen("OBJECT_PID=") + DECIMAL_STR_MAX(pid_t) && startswith(p, "OBJECT_PID=") && |