projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd4707e
)
fix for coverity
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 21 Feb 2013 00:44:33 +0000
(19:44 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 21 Feb 2013 00:44:33 +0000
(19:44 -0500)
src/main/stats.c
patch
|
blob
|
history
diff --git
a/src/main/stats.c
b/src/main/stats.c
index
360f91d
..
4604d04
100644
(file)
--- a/
src/main/stats.c
+++ b/
src/main/stats.c
@@
-562,6
+562,7
@@
void request_stats_reply(REQUEST *request)
vp = pairfind(request->packet->vps, 167, VENDORPEC_FREERADIUS, TAG_ANY);
if (vp) {
+ memset(&ipaddr, 0, sizeof(ipaddr));
ipaddr.af = AF_INET;
ipaddr.ipaddr.ip4addr.s_addr = vp->vp_ipaddr;
client = client_find(cl, &ipaddr, IPPROTO_UDP);