CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/04/24 14:24:12
Modified files:
usr.sbin/bgpd : bgpd.c
Log message:
Both IMSG_CTL_RELOAD and IMSG_DEMOTE pass a string buffer that could
theoretically be not '\0' terminated.
For now just enforce a '\0' at the end of the buffer in question.
This is enough to prevent any bad side-effects from an unterminated string.
Reported by S. Ai, H. Lefeuvre, Systopia team
OK tb@
