artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2d77ce
)
apply https://nlnetlabs.nl/downloads/unbound/patch_CVE-2024-1931.diff to
author
sthen
<sthen@openbsd.org>
Mon, 11 Mar 2024 16:35:48 +0000
(16:35 +0000)
committer
sthen
<sthen@openbsd.org>
Mon, 11 Mar 2024 16:35:48 +0000
(16:35 +0000)
unbound, fixing an indefinite loop that could be triggered by a client
against an unbound server where the (non-default) configuration "ede: yes"
is used.
https://nlnetlabs.nl/downloads/unbound/CVE-2024-1931.txt
ok florian@
usr.sbin/unbound/util/data/msgencode.c
patch
|
blob
|
history
diff --git
a/usr.sbin/unbound/util/data/msgencode.c
b/usr.sbin/unbound/util/data/msgencode.c
index
a170eb7
..
93423f9
100644
(file)
--- a/
usr.sbin/unbound/util/data/msgencode.c
+++ b/
usr.sbin/unbound/util/data/msgencode.c
@@
-886,6
+886,9
@@
ede_trim_text(struct edns_option** list)
curr->opt_len = 2;
prev = curr;
curr = curr->next;
+ } else {
+ prev = curr;
+ curr = curr->next;
}
} else {
/* continue */