CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2025/04/14 05:46:52
Modified files: usr.sbin/bgpd : rde_attr.c Log message: In attr_diff() return early when oa->len == 0 since memcmp(a, NULL, 0) is UB. Defining memcmp(a, NULL, 0) as undefined behaviour is one of those absurdities of the C standard. Right now this does not happen since BGP has no 0 size attributes. OK tb@