Closed jlevon closed 1 year ago
For some unclear reason, clang-tidy believes bcopy() is insecure. Regardless, it is deprecated, so replace usages with memcpy().
Signed-off-by: John Levon john.levon@nutanix.com
Hardly a "security" issue! All I can think is that they have instrumentation for ASAN and so on that they didn't bother doing for bcopy..
For some unclear reason, clang-tidy believes bcopy() is insecure. Regardless, it is deprecated, so replace usages with memcpy().
Signed-off-by: John Levon john.levon@nutanix.com