From 2ff4eca7bf426c805293781576efee500088ec72 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 24 Sep 2014 18:20:05 +0200 Subject: [PATCH] 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) --- cmdmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdmon.c b/cmdmon.c index 020aa26..8406087 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -566,6 +566,7 @@ get_more_replies(void) for (i=1; i