From 9da20b07335cde5719090b766f75c0dd3f0b9080 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 6 Oct 2016 16:08:05 +0200 Subject: Assert that the server argument is non-NULL. --- radsecproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/radsecproxy.c b/radsecproxy.c index a6f71c4..a4d8c07 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1757,6 +1757,7 @@ void *clientwr(void *arg) { struct request *statsrvrq; struct clsrvconf *conf; + assert(server); conf = server->conf; #define ZZZ 900 -- cgit v1.1