curl-curl/lib/curlx
Daniel Stenberg c5de083bcc
base64: make base64_encode() error on too long input
The maximum size is set to 16MB.

It should not possible to call this function with this large input, but
this is a precaution to catch mistakes and replaces the earlier check on
architectures with small size_t.

Closes #19280
2025-10-30 15:41:28 +01:00
..
base64.c base64: make base64_encode() error on too long input 2025-10-30 15:41:28 +01:00
base64.h base64: make base64_encode() error on too long input 2025-10-30 15:41:28 +01:00
binmode.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
curlx.h curlx: move Curl_strerror, use in src and tests, ban strerror globally 2025-10-06 09:44:23 +02:00
dynbuf.c dynbuf: assert on curlx_dyn_addf use with just "%s" 2025-08-06 08:32:07 +02:00
dynbuf.h curl_setup: use SIZE_MAX instead of SIZE_T_MAX 2025-08-29 09:45:06 +02:00
fopen.c curlx: promote Curl_fseeko() to curlx_fseek(), use it in src 2025-10-18 02:25:10 +02:00
fopen.h curlx: promote Curl_fseeko() to curlx_fseek(), use it in src 2025-10-18 02:25:10 +02:00
inet_ntop.c lib: remove personal names from comments 2025-10-02 14:22:57 +02:00
inet_ntop.h inet_pton, inet_ntop: drop declarations when unused 2025-07-28 01:51:55 +02:00
inet_pton.c curlx: move curlx_inet_pton 2025-05-09 13:45:24 +02:00
inet_pton.h inet_pton, inet_ntop: drop declarations when unused 2025-07-28 01:51:55 +02:00
multibyte.c build: avoid overriding system symbols for fopen functions 2025-09-30 01:10:36 +02:00
multibyte.h tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
nonblock.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
nonblock.h curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
strerr.c windows: use native error code types more 2025-10-06 12:12:44 +02: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 curl_setup: use SIZE_MAX instead of SIZE_T_MAX 2025-08-29 09:45:06 +02:00
strparse.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
timediff.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timediff.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timeval.c tidy-up: move literal to the right side of comparisons 2025-07-27 22:35:17 +02:00
timeval.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
version_win32.c tidy-up: miscellaneous 2025-09-27 12:59:07 +02:00
version_win32.h curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
wait.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
wait.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
warnless.c curl_setup: use SIZE_MAX instead of SIZE_T_MAX 2025-08-29 09:45:06 +02:00
warnless.h warnless: drop parts of the read/write preprocessor hack (Windows) 2025-06-19 17:09:43 +02:00
winapi.c windows: use consistent format when showing error codes 2025-10-06 14:00:29 +02:00
winapi.h windows: use native error code types more 2025-10-06 12:12:44 +02:00