HomeFreeBSD

MFC r343480,343482: Silence Clang Scan warning about unsafe use of strcpy.

Description

MFC r343480,343482: Silence Clang Scan warning about unsafe use of strcpy.

Replace strcpy() by memcpy to the previously allocated range of known size.

Details

Provenance
seAuthored on
Parents
rS344126: MFC r343479: Fix potential buffer overflow and undefined behavior.
Branches
Unknown
Tags
Unknown