artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422318f
)
Free the received radius packet when it is duplicated.
author
yasuoka
<yasuoka@openbsd.org>
Tue, 27 Oct 2015 04:48:06 +0000
(
04:48
+0000)
committer
yasuoka
<yasuoka@openbsd.org>
Tue, 27 Oct 2015 04:48:06 +0000
(
04:48
+0000)
diff from Yuuichi Someya
usr.sbin/radiusd/radiusd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/radiusd/radiusd.c
b/usr.sbin/radiusd/radiusd.c
index
6a85c0b
..
eea0ec4
100644
(file)
--- a/
usr.sbin/radiusd/radiusd.c
+++ b/
usr.sbin/radiusd/radiusd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: radiusd.c,v 1.1
1 2015/10/27 04:27:01
yasuoka Exp $ */
+/* $OpenBSD: radiusd.c,v 1.1
2 2015/10/27 04:48:06
yasuoka Exp $ */
/*
* Copyright (c) 2013 Internet Initiative Japan Inc.
@@
-467,7
+467,7
@@
radiusd_listen_on_event(int fd, short evmask, void *ctx)
radius_code_string(req_code), req_code, peerstr,
req_id, q->id);
/* XXX RFC 5080 suggests to answer the cached result */
-
return
;
+
goto on_error
;
}
/* FIXME: we can support other request codes */