CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2022/05/10 01:41:37
Modified files: usr.sbin/rpki-client: extern.h mft.c rsc.c validate.c Log message: Validate RSC filenames Factor out POSIX portable filename check into a new valid_filename() and rename the previous valid_filename() to valid_mft_filename(). Fixes and supersedes imcomplete checks in the RSC code. Avoids truncation via strndup() in case of embedded NULs. input/ok claudio