]> git.ipfire.org Git - thirdparty/systemd.git/commit
ndisc: reject malformed captive portal URI with EBADMSG 28232/head
authorRonan Pigott <ronan@rjp.ie>
Mon, 3 Jul 2023 10:07:57 +0000 (03:07 -0700)
committerRonan Pigott <ronan@rjp.ie>
Mon, 3 Jul 2023 10:07:57 +0000 (03:07 -0700)
commit8231286fafa32d9aab83fc0459a659c885921ee2
tree5e9d804df98fee293f9272ab97e1cf51e5bf73fb
parent16290f50e9f9adb7f0e1ef1f5b5078e705c2dff5
ndisc: reject malformed captive portal URI with EBADMSG

This allows the correct, gracious, error handling to follow up in the
ndisc handler. Otherwise, an internal error is assumed and the interface
disabled.

Fixes: 9747955d2d60 ("ndisc: parse RFC8910 captive portal ipv6ra option")
src/network/networkd-ndisc.c