From: Miroslav Lichvar Date: Wed, 24 Sep 2014 16:20:05 +0000 (+0200) Subject: cmdmon: fix initialization of allocated reply slots X-Git-Tag: 2.0-pre1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ff4eca7bf426c805293781576efee500088ec72;p=thirdparty%2Fchrony.git cmdmon: fix initialization of allocated reply slots The next pointer in the last allocated reply slot was not set. This could cause a crash when more slots were needed. (the slots are used to save unacknowledged replies to authenticated commands) --- diff --git a/cmdmon.c b/cmdmon.c index 020aa26d..8406087c 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -566,6 +566,7 @@ get_more_replies(void) for (i=1; i