artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d6208
)
Accept empty lines for authopts to fix the parser to accept the old
author
yasuoka
<yasuoka@openbsd.org>
Thu, 15 Aug 2024 07:24:28 +0000
(07:24 +0000)
committer
yasuoka
<yasuoka@openbsd.org>
Thu, 15 Aug 2024 07:24:28 +0000
(07:24 +0000)
syntax. It was broken by parse.y 1.18. Found by Mike at mgm51.com.
usr.sbin/radiusd/parse.y
patch
|
blob
|
history
diff --git
a/usr.sbin/radiusd/parse.y
b/usr.sbin/radiusd/parse.y
index
ec062b0
..
cd1fe7a
100644
(file)
--- a/
usr.sbin/radiusd/parse.y
+++ b/
usr.sbin/radiusd/parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: parse.y,v 1.2
6 2024/07/14 16:09:23
yasuoka Exp $ */
+/* $OpenBSD: parse.y,v 1.2
7 2024/08/15 07:24:28
yasuoka Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-451,7
+451,8
@@
authopts : authopts '\n' authopt
| authopt
;
-authopt : AUTHENTICATE_BY STRING {
+authopt : /* empty */
+ | AUTHENTICATE_BY STRING {
struct radiusd_module_ref *modref;
if (authen.auth != NULL) {