CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/04/12 19:10:39
Modified files:
sys/net : if_wg.c
Log message:
check the prefix (cidr) len for an allowedip is valid.
ie, don't allow prefixes greater than 32 or 128 bits for ipv4 and
ipv6 respectively.
found by Daniel Wade (danjwade95 at gmail dot com), who also suggested
the fix.
ok deraadt@ jmatthew@
