diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:13:21 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:13:21 +0900 |
commit | 990f644abd85c36c7bfec6c18255af2683475363 (patch) | |
tree | 72eefb394835489ac11c8b48a35223c06cf75032 /Templates | |
parent | c5f1ff3b8bce56839eb20ff7bd17cbcd3af13a29 (diff) | |
download | cmake-990f644abd85c36c7bfec6c18255af2683475363.tar.gz cmake-990f644abd85c36c7bfec6c18255af2683475363.tar.bz2 cmake-990f644abd85c36c7bfec6c18255af2683475363.zip |
Imported Upstream version 3.11.3upstream/3.11.3
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/TestDriver.cxx.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in index ff3c869e5..ac531c051 100644 --- a/Templates/TestDriver.cxx.in +++ b/Templates/TestDriver.cxx.in @@ -48,7 +48,7 @@ static char* lowercase(const char* string) if (new_string == NULL) { /* NOLINT */ return NULL; /* NOLINT */ } - strncpy(new_string, string, stringSize); + strcpy(new_string, string); for (p = new_string; *p != 0; ++p) { *p = CM_CAST(char, tolower(*p)); } |