checksrc: ban strcpy

No longer used in the codebase. Replacement is `curlx_strcopy()`, possibly
`memcpy()` or dynbuf.

Also:
- OS400: allow three calls.

Closes #20088
This commit is contained in:
Viktor Szakats 2025-12-24 01:08:58 +01:00
parent 532d134767
commit 8636ad55df
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 4 additions and 0 deletions

View file

@ -110,6 +110,7 @@ my %banfunc = (
"sscanf" => 1,
"stat" => 1,
"strcat" => 1,
"strcpy" => 1,
"strdup" => 1,
"strerror" => 1,
"strncat" => 1,