Post #12946 100 Dec 31, 2025, 12:29 UTC no strcpy eitherhttps://daniel.haxx.se/blog/2025/12/29/no-strcpy-either/https://redd.it/1pzvftd@programmingreddit daniel.haxx.se no strcpy either Some time ago I mentioned that we went through the curl source code and eventually got rid of all strncpy() calls. strncpy() is a weird function with a crappy API. It might not null terminate the destination and it pads the target buffer with zeroes. Quite…