aboutsummaryrefslogtreecommitdiff
path: root/net/radiusd-cistron/files/patch-radiusd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/radiusd-cistron/files/patch-radiusd.c')
-rw-r--r--net/radiusd-cistron/files/patch-radiusd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/radiusd-cistron/files/patch-radiusd.c b/net/radiusd-cistron/files/patch-radiusd.c
new file mode 100644
index 000000000000..7bafe4d3c2b1
--- /dev/null
+++ b/net/radiusd-cistron/files/patch-radiusd.c
@@ -0,0 +1,10 @@
+--- src/radiusd.c.orig Wed Jul 2 11:39:03 2003
++++ src/radiusd.c Fri Jul 9 15:57:46 2004
+@@ -612,6 +612,7 @@
+ if ((cl = client_find(authreq->ipaddr)) == NULL) {
+ log(L_ERR, "packet from unknown client/host: %s",
+ client_name(authreq->ipaddr));
++ authfree(authreq);
+ return -1;
+ }
+ strNcpy(authreq->secret, cl->secret, sizeof(authreq->secret));