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

Committed
seFeb 14 2019, 3:42 PM
Parents
rS344126: MFC r343479: Fix potential buffer overflow and undefined behavior.
Branches
Unknown
Tags
Unknown