artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d740303
)
avoid use after free of q
author
jsg
<jsg@openbsd.org>
Wed, 14 Feb 2024 02:44:58 +0000
(
02:44
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 14 Feb 2024 02:44:58 +0000
(
02:44
+0000)
found by smatch, ok miod@ deraadt@
usr.sbin/radiusd/radiusd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/radiusd/radiusd.c
b/usr.sbin/radiusd/radiusd.c
index
3fc7ad0
..
4419e30
100644
(file)
--- a/
usr.sbin/radiusd/radiusd.c
+++ b/
usr.sbin/radiusd/radiusd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: radiusd.c,v 1.3
5 2024/02/09 07:46:32 yasuoka Exp $
*/
+/* $OpenBSD: radiusd.c,v 1.3
6 2024/02/14 02:44:58 jsg Exp $
*/
/*
* Copyright (c) 2013, 2023 Internet Initiative Japan Inc.
@@
-1286,6
+1286,7
@@
radiusd_module_imsg(struct radiusd_module *module, struct imsg *imsg)
log_warn("q=%u wrong pkt from module",
q->id);
radiusd_access_request_aborted(q);
+ break;
}
q->res = radpkt;
radiusd_access_request_answer(q);