curl/lib/curlx
Viktor Szakats 6a6826469d
windows: determine RtlVerifyVersionInfo address on global init
Instead of the first internal call to `curlx_verify_windows_version()`.

To avoid the chance of a race, potentially resulting in initializing
this address twice. AFAICT it could not cause an issue before this
patch.

Reported by Codex Security

Follow-up to b17ef873ae #18009

Closes #20853
2026-03-09 11:35:19 +01:00
..
base64.c clang-tidy: enable readability-math-missing-parentheses, adjust code 2026-02-23 18:57:40 +01:00
base64.h curlx: rename Curl_-prefixed symbols to curlx_ 2025-12-22 01:47:22 +01:00
basename.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
basename.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
curlx.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
dynbuf.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
dynbuf.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
fopen.c docs: avoid starting sentences with However, 2026-03-07 23:49:11 +01:00
fopen.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
inet_ntop.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
inet_ntop.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
inet_pton.c clang-tidy: enable bugprone-signed-char-misuse, fix fallouts 2026-02-25 14:44:56 +01:00
inet_pton.h clang-tidy: add arg names to prototypes where missing (cont.) 2026-02-23 17:03:01 +01:00
multibyte.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
multibyte.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
nonblock.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
nonblock.h build: drop duplicate include curl/curl.h and others 2025-12-19 10:58:11 +01:00
snprintf.c curlx: add local snprintf() helper that always nul-terminates (Windows) 2026-03-02 21:30:36 +01:00
snprintf.h curlx: add local snprintf() helper that always nul-terminates (Windows) 2026-03-02 21:30:36 +01:00
strcopy.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
strcopy.h curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
strdup.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
strdup.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
strerr.c clang-tidy: fix readability-suspicious-call-argument 2026-03-02 15:28:25 +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 clang-tidy: enable readability-math-missing-parentheses, adjust code 2026-02-23 18:57:40 +01:00
strparse.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
timediff.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
timediff.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
timeval.c tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
timeval.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
version_win32.c windows: determine RtlVerifyVersionInfo address on global init 2026-03-09 11:35:19 +01:00
version_win32.h windows: determine RtlVerifyVersionInfo address on global init 2026-03-09 11:35:19 +01:00
wait.c stop using the word 'just' 2026-03-03 15:30:22 +01:00
wait.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
warnless.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
warnless.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
winapi.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
winapi.h windows: use native error code types more 2025-10-06 12:12:44 +02:00