HomeFreeBSD

dprintf_dnode: strcpy -> strlcpy

Description

dprintf_dnode: strcpy -> strlcpy

Missed a couple of strcpy() in earlier commit, this is only used with
--enable-debug.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12311

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on Jul 8 2021, 3:13 AM
GitHub <noreply@github.com>Committed on Jul 8 2021, 3:13 AM
Parents
rGd2119d0e6f41: Replace strchrnul() with strrchr()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG03dba7ae318e: dprintf_dnode: strcpy -> strlcpy (authored by Jorgen Lundman <lundman@lundman.net>).Jul 8 2021, 3:13 AM