CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/04/30 12:22:59

Modified files:
        usr.sbin/bgpd  : rtr_proto.c 

Log message:
In the rtr_reader_callback() make sure that the PDU length is not only
smaller than RTR_MAX_PDU_SIZE but also larger than sizeof(struct rtr_header).

Passing a too small value will trigger a fatal error later on which is
not great. Also switch the type of len to size_t, there is no need for
a signed value here.

OK tb@

Reply via email to