Blame SOURCES/ntp-4.2.6p5-mreadvar.patch

6d3098
diff -up ntp-4.2.6p5/ntpq/ntpq-subs.c.mreadvar ntp-4.2.6p5/ntpq/ntpq-subs.c
6d3098
--- ntp-4.2.6p5/ntpq/ntpq-subs.c.mreadvar	2011-12-25 00:27:15.000000000 +0100
6d3098
+++ ntp-4.2.6p5/ntpq/ntpq-subs.c	2015-02-09 12:13:02.215449708 +0100
6d3098
@@ -857,8 +857,8 @@ mreadvar(
6d3098
 				&from, &to))
6d3098
 		return;
6d3098
 
6d3098
+	memset(tmplist, 0, sizeof(tmplist));
6d3098
 	if (pcmd->nargs >= 3) {
6d3098
-		memset(tmplist, 0, sizeof(tmplist));
6d3098
 		doaddvlist(tmplist, pcmd->argval[2].string);
6d3098
 		pvars = tmplist;
6d3098
 	} else {