From 35227d3937eacce73d0deaaa5239b0602555fe45 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 5 Feb 2018 02:15:06 +0100 Subject: Fix: Proctitle lenght was not parsed from the correct field --- jaildaemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jaildaemon.c b/jaildaemon.c index 089b16e..8efd5a2 100644 --- a/jaildaemon.c +++ b/jaildaemon.c @@ -680,8 +680,8 @@ int main( int argc, char **argv ) { continue; } - task.m_proctitle = g_ipc_packet_int[4] ? ++text_off : 0; - text_off += g_ipc_packet_int[4]; + task.m_proctitle = g_ipc_packet_int[5] ? ++text_off : 0; + text_off += g_ipc_packet_int[5]; /* Sanity check on string length, expect terminator */ if( text_off > (char *)(g_ipc_packet + IPC_PACKETSIZE) || -- cgit v1.2.3