CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2023/03/30 01:26:15

Modified files:
        usr.bin/mg     : fileio.c 

Log message:
strncpy -> strlcpy to properly NUL-terminate the copy of the path

otherwise paths longer than NFILEN (1024) given with -u won't
NUL-terminate `file'.

Reply via email to