CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/03/08 06:02:42
Modified files:
usr.sbin/bgpd : rtr_proto.c
Log message:
Avoid leak of roa in rtr_parse_ipv{4,6}_prefix()
If the length checks trigger, roa is leaked. Pull the length checks
above the allocation, which makes more sense and avoids additional
free(roa).
ok claudio
