curl/lib/curlx
Daniel Stenberg a535be4ea0
curlx: curlx_strcopy() instead of strcpy()
This function REQUIRES the size of the target buffer as well as the
length of the source string. Meant to make it harder to do a bad
strcpy().

Removes 23 calls to strcpy().

Closes #20067
2025-12-22 23:01:05 +01:00
..
base64.c curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
base64.h curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
binmode.h binmode: delete extra nop instruction from fallback macro 2025-12-22 01:47:21 +01:00
curlx.h curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
dynbuf.c lib/subdirs: fix formatting nits 2025-11-30 11:01:50 +01:00
dynbuf.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
fopen.c curlx: add curlx_rename(), fix to support long filenames on Windows 2025-12-20 16:03:11 +01:00
fopen.h curlx: add curlx_rename(), fix to support long filenames on Windows 2025-12-20 16:03:11 +01:00
inet_ntop.c curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
inet_ntop.h lib/subdirs: fix formatting nits 2025-11-30 11:01:50 +01:00
inet_pton.c curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
inet_pton.h lib/subdirs: fix formatting nits 2025-11-30 11:01:50 +01:00
multibyte.c curlx: limit use of system allocators to the minimum possible 2025-12-05 15:32:59 +01:00
multibyte.h tidy-up: avoid (()), clang-format fixes and more 2025-12-05 16:07:03 +01:00
nonblock.c lib/subdirs: fix formatting nits 2025-11-30 11:01:50 +01:00
nonblock.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
snprintf.h curlx: replace sprintf with snprintf 2025-11-25 11:11:06 +01:00
strcopy.c curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
strcopy.h curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
strerr.c curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
strerr.h curlx: move Curl_strerror, use in src and tests, ban strerror globally 2025-10-06 09:44:23 +02:00
strparse.c curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
strparse.h curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
timediff.c build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
timediff.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timeval.c build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
timeval.h time-keeping: keep timestamp in multi, always update 2025-12-18 22:10:06 +01:00
version_win32.c lib: include curlx/warnless.h from curl_setup.h 2025-12-21 02:36:33 +01:00
version_win32.h curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
wait.c build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
wait.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
warnless.c build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
warnless.h lib: include curlx/warnless.h from curl_setup.h 2025-12-21 02:36:33 +01:00
winapi.c curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
winapi.h windows: use native error code types more 2025-10-06 12:12:44 +02:00