summaryrefslogtreecommitdiffstats
path: root/web/attachments/212731-check_radius.c.diff
blob: b9f70f34e4cda0646dd0638c44ff1252191ade13 (plain)
1
2
3
4
5
6
7
8
9
10
--- nagios-plugins-HEAD-200610282352/plugins/check_radius.c.orig	2006-10-20 08:53:28.000000000 +0900
+++ nagios-plugins-HEAD-200610282352/plugins/check_radius.c	2006-10-29 17:30:31.000000000 +0900
@@ -139,6 +139,7 @@
 
 	service = PW_AUTHENTICATE_ONLY;
 
+	memset (&data, 0, sizeof data);
 	if (!(rc_avpair_add (&data.send_pairs, PW_SERVICE_TYPE, &service, 0) &&
 				rc_avpair_add (&data.send_pairs, PW_USER_NAME, username, 0) &&
				rc_avpair_add (&data.send_pairs, PW_USER_PASSWORD, password, 0) &&