CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/05/05 02:37:45
Modified files:
usr.sbin/bgpd : rde_attr.c
Log message:
Prevent overflow of the uint8_t length value in attr_optadd.
bin_of_attrs() jumps from 240 to 256 elements but the length of the
others attributes array is limited to a uint8_t type and overflows.
Switch type of the local length value to int and make sure that the
maximum length of UCHAR_MAX is not exceeded.
OK tb@
