From d577358076d66a97080b3cfdefaf11152705a963 Mon Sep 17 00:00:00 2001 From: Soeren Peters <peters@irmb.tu-bs.de> Date: Fri, 26 Feb 2021 15:51:00 +0000 Subject: [PATCH] Need to rely on STRCPY. --- 3rdParty/cuda_samples/helper_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdParty/cuda_samples/helper_string.h b/3rdParty/cuda_samples/helper_string.h index cb3d95418..c09935174 100644 --- a/3rdParty/cuda_samples/helper_string.h +++ b/3rdParty/cuda_samples/helper_string.h @@ -352,7 +352,7 @@ inline char *sdkFindFilePath(const char *filename, // File found // returning an allocated array here for backwards compatibility reasons char *file_path = reinterpret_cast<char *>(malloc(path.length() + 1)); - strcpy_s(file_path, path.length() + 1, path.c_str()); + STRCPY(file_path, path.length() + 1, path.c_str()); return file_path; } -- GitLab