Commit f2201451 authored by Brad King's avatar Brad King 💬
Browse files

Merge branch 'create_test_sourcelist-strcpy' into release-3.11

Merge-request: !2115
parents f3936021 3af0438b
......@@ -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));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment