CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2024/09/10 02:53:20
Modified files: usr.sbin/bgpd : rde_community.c Log message: community_copy needs to check if nentries is 0 and handle that specially. Calling malloc / reallocarray with a 0 size is not portable and the memcpy with a possible NULL pointer as source and 0 len is seen as UB by newer C standards (grmbl). OK tb@