CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/05/27 02:32:20
Modified files:
usr.sbin/bgpd : parse.y
Log message:
Fix use-after-free problems in parse.y
In error cases using YYERROR data is freed but the global pointer is not
reset (to NULL or in the case of curpeer to curgroup). On YYERROR yacc
still moves on and so any rules using e.g. curpeer do a use-after-free.
Reported by 7Asecurity
OK tb@
