CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/01/28 03:41:44
Modified files:
lib/libutil : imsg.c
Log message:
Only memcpy() into imsg->data if datalen is not 0. Passing a NULL pointer
to memcpy() is UB no matter if len is 0.
Reported by fouzhe on openbgpd-portable github page.
OK tb@
