]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nvme: Use strlcpy instead of strncpy to ensure termination
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 13 May 2024 19:03:49 +0000 (12:03 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 13 May 2024 19:03:49 +0000 (12:03 -0700)
commit01fc488381e97c0bf589a297caa0c4b8e6b3e1c4
tree6506b39047f0c6c11e5585395ee0fda390ffd82f
parente90259af59a1363126062442d80ba48678926369
nvme: Use strlcpy instead of strncpy to ensure termination

Reviewed by: dab, imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D45152
sys/dev/nvme/nvme_sim.c