CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2022/08/03 02:11:18
Modified files: usr.sbin/bgpd : kroute.c Log message: Fix possible NULL dereference in knexthop_validate(). kroute_match() may return NULL so setting kn->ifindex should only be done if the kroute is valid. Also set the ifindex to 0 in kroute_detach_nexthop(). Based on a bigger diff which is OK tb@ and sthen@