bk: 49743ca6i9GtHDeJ1sNgLAQPsx9jhg
+* [Bug 1120] [CID 51] INSIST that peer is non-null before we dereference it.
* [Bug 1121] [CID 47] double fclose() in ntp-keygen.c.
(4.2.5p155) 2009/01/18 Released by Harlan Stenn <stenn@ntp.org>
* Documentation updates from Dave Mills.
#include "ntp_unixtime.h"
#include "ntp_stdlib.h"
#include "ntp_config.h"
+#include "ntp_assert.h"
#include <stdio.h>
#include <ctype.h>
ctl_putsys(i);
}
} else {
+ NTP_INSIST(peer != NULL);
rpkt.associd = htons(peer->associd);
rpkt.status = htons(ctlpeerstatus(peer));