curl/lib
Daniel Stenberg eed3c8f4b7
curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs
It makes the callbacks get different signnatures when used from within
libcurl vs outside of it by libcurl-using applications (such as the
libtests) and this triggers UndefinedBehaviorSanitizer errors.

Closes #15289
2024-10-15 14:33:40 +02:00
..
vauth lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
vquic gnutls: use session cache for QUIC 2024-10-11 23:37:47 +02:00
vssh curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
vtls mbedTLS: fix handling of TLSv1.3 sessions 2024-10-13 23:13:04 +02:00
.checksrc checksrc: add STRNCPY as an opt-in rule to detect and error on strncpy 2024-09-09 13:47:50 +02:00
.gitattributes
.gitignore
altsvc.c altsvc: avoid using local buffer and memcpy 2024-10-08 12:50:52 +02:00
altsvc.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
amigaos.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
amigaos.h
arpa_telnet.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
asyn-ares.c asyn-ares: remove typecast, fix expire 2024-10-04 14:08:09 +02:00
asyn-thread.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
asyn.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
base64.c
bufq.c bufq: unwrite fix 2024-10-03 13:27:36 +02:00
bufq.h websocket: introduce blocking sends 2024-08-12 19:19:28 +02:00
bufref.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
bufref.h
c-hyper.c WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
c-hyper.h
cf-h1-proxy.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
cf-h1-proxy.h
cf-h2-proxy.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
cf-h2-proxy.h
cf-haproxy.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
cf-haproxy.h
cf-https-connect.c TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
cf-https-connect.h
cf-socket.c ftp: move listen handling to socket filter 2024-10-13 23:15:28 +02:00
cf-socket.h ftp: move listen handling to socket filter 2024-10-13 23:15:28 +02:00
cfilters.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
cfilters.h connect: limit update IP info 2024-08-28 13:58:10 +02:00
CMakeLists.txt cmake: use cmake_push_check_state() around feature checks 2024-10-10 19:35:58 +02:00
config-amigaos.h
config-dos.h
config-mac.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
config-os400.h lib: remove use of RANDOM_FILE 2024-09-02 18:42:32 +02:00
config-plan9.h select: use poll() if existing, avoid poll() with no sockets 2024-10-01 15:11:50 +02:00
config-riscos.h lib: remove use of RANDOM_FILE 2024-09-02 18:42:32 +02:00
config-win32.h build: detect and use _setmode() with Cygwin/MSYS, also use on Windows 2024-10-07 12:31:21 +02:00
config-win32ce.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
conncache.c conncache: More efficient implementation of cpool_remove_bundle 2024-10-15 10:45:17 +02:00
conncache.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
connect.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
connect.h connect: limit update IP info 2024-08-28 13:58:10 +02:00
content_encoding.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
content_encoding.h
cookie.c cookie: overhaul and cleanup 2024-10-11 09:01:03 +02:00
cookie.h cookie: overhaul and cleanup 2024-10-11 09:01:03 +02:00
curl_addrinfo.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_addrinfo.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_base64.h
curl_config.h.cmake cmake: do not propagate unused HAVE_GSSAPI_GSSAPI_KRB5_H to C 2024-10-07 16:14:38 +02:00
curl_ctype.h
curl_des.c lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_des.h lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_endian.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_endian.h
curl_fnmatch.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
curl_fnmatch.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_get_line.c
curl_get_line.h
curl_gethostname.c lib: remove the final strncpy() calls 2024-09-09 13:47:38 +02:00
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_memory.h lib: memdebug comment fixup [ci skip] 2024-09-21 01:27:43 +02:00
curl_memrchr.c singleuse: drop Curl_memrchr() for no-HTTP builds 2024-09-15 16:33:24 +02:00
curl_memrchr.h singleuse: drop Curl_memrchr() for no-HTTP builds 2024-09-15 16:33:24 +02:00
curl_multibyte.c
curl_multibyte.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_ntlm_core.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_ntlm_core.h cmake: fix building unit1600 due to missing ssl/openssl.h 2024-07-13 12:00:14 +02:00
curl_printf.h printf: fix mingw-w64 format checks 2024-09-02 21:03:01 +02:00
curl_range.c lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
curl_range.h
curl_rtmp.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
curl_rtmp.h
curl_sasl.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_sasl.h
curl_setup_once.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_setup.h quic: use send/recvmmsg when available 2024-09-30 08:51:16 +02:00
curl_sha256.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_sha512_256.c tidy-up: spelling 2024-09-22 09:51:15 +02:00
curl_sha512_256.h curl_sha512_256: fix symbol collisions with nettle library 2024-08-13 10:04:06 +02:00
curl_sspi.c lib: make SSPI global symbols use Curl_ prefix 2024-09-04 14:55:10 +02:00
curl_sspi.h lib: make SSPI global symbols use Curl_ prefix 2024-09-04 14:55:10 +02:00
curl_threads.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
curl_threads.h tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
curl_trc.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
curl_trc.h lib: fix disabled-verbose-strings + enable-debug build warnings 2024-09-27 13:20:25 +02:00
curlx.h tidy-up: indent, whitespace, comment in sources 2024-09-22 09:51:14 +02:00
cw-out.c lib/cw-out: initialize 'flush_all' directly 2024-09-26 16:55:01 +02:00
cw-out.h
dict.c lib: add eos flag to send methods 2024-08-03 19:53:54 +02:00
dict.h
dllmain.c
doh.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
doh.h doh: cleanups 2024-09-06 08:58:52 +02:00
dynbuf.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
dynbuf.h
dynhds.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
dynhds.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easy_lock.h
easy.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
easygetopt.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easyif.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
easyoptions.c
easyoptions.h
escape.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
escape.h
file.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
file.h
fileinfo.c
fileinfo.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
fopen.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
fopen.h
formdata.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
formdata.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
ftp.c ftp: move listen handling to socket filter 2024-10-13 23:15:28 +02:00
ftp.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
ftplistparser.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
ftplistparser.h
functypes.h
getenv.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
getinfo.c TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
getinfo.h
gopher.c lib: add eos flag to send methods 2024-08-03 19:53:54 +02:00
gopher.h
hash.c hash: provide asserts to verify API use 2024-08-15 08:54:19 +02:00
hash.h hash: provide asserts to verify API use 2024-08-15 08:54:19 +02:00
headers.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
headers.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
hmac.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
hostasyn.c url: dns_entry related improvements 2024-08-03 19:51:02 +02:00
hostip4.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
hostip6.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
hostip.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
hostip.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
hostsyn.c
hsts.c hsts: improve subdomain handling 2024-10-09 13:48:08 +02:00
hsts.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
http1.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
http1.h
http2.c TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
http2.h
http_aws_sigv4.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
http_aws_sigv4.h
http_chunks.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
http_chunks.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
http_digest.c
http_digest.h
http_negotiate.c negotiate: conditional check around GSS & SSL specific code 2024-09-18 15:04:06 +02:00
http_negotiate.h
http_ntlm.c lib: make SSPI global symbols use Curl_ prefix 2024-09-04 14:55:10 +02:00
http_ntlm.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
http_proxy.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
http_proxy.h
http.c cookie: overhaul and cleanup 2024-10-11 09:01:03 +02:00
http.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
idn.c configure: fix WinIDN builds targeting old Windows 2024-08-27 23:40:48 +02:00
idn.h
if2ip.c lib: fix AIX build issues 2024-08-09 10:45:40 +02:00
if2ip.h
imap.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
imap.h
inet_ntop.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
inet_ntop.h
inet_pton.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
inet_pton.h
krb5.c lib: fix unity builds with BearSSL, MSH3, Quiche, OmniOS 2024-09-19 20:27:01 +02:00
ldap.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
libcurl.def libcurl.def: move from / into lib 2024-09-05 17:05:40 +02:00
libcurl.rc
libcurl.vers.in build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
llist.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
llist.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
macos.c tidy-up: misc build, tests, lib/macos.c 2024-08-16 16:05:36 +02:00
macos.h
Makefile.am autotools: add support for 'unity' builds, enable in CI 2024-09-20 23:53:33 +02:00
Makefile.inc lib: move curl_path.[ch] into vssh/ 2024-10-13 23:16:18 +02:00
Makefile.mk cmake, Makefile.mk: use -isystem for dep headers, silence BearSSL issues 2024-09-19 19:24:01 +02:00
Makefile.soname build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
md4.c md4: fix compilation with OpenSSL 1.x with md4 disabled 2024-07-19 18:27:30 +02:00
md5.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
memdebug.c lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
memdebug.h lib: memdebug comment fixup [ci skip] 2024-09-21 01:27:43 +02:00
mime.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
mime.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
mprintf.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
mqtt.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
mqtt.h
multi.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
multihandle.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
multiif.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
netrc.c netrc: cache the netrc file in memory 2024-10-11 14:40:12 +02:00
netrc.h netrc: cache the netrc file in memory 2024-10-11 14:40:12 +02:00
nonblock.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
nonblock.h
noproxy.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
noproxy.h
openldap.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
optiontable.pl curl.h: make CURLOPT_WRITEINFO and CURLOPT_CLOSEPOLICY compile 2024-09-02 10:43:34 +02:00
parsedate.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
parsedate.h
pingpong.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
pingpong.h ftp: flush pingpong before response 2024-08-08 17:52:25 +02:00
pop3.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
pop3.h pop3: use the protocol handler ->write_resp 2024-08-26 14:59:50 +02:00
progress.c TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
progress.h TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
psl.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
psl.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
rand.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
rand.h vtls/rustls: support strong CSRNG data 2024-09-13 14:11:56 +02:00
rename.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
rename.h
request.c request: on shutdown send, proceed normally on timeout 2024-09-20 23:43:43 +02:00
request.h request: on shutdown send, proceed normally on timeout 2024-09-20 23:43:43 +02:00
rtsp.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
rtsp.h
select.c select: use poll() if existing, avoid poll() with no sockets 2024-10-01 15:11:50 +02:00
select.h
sendf.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
sendf.h
setopt.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
setopt.h
setup-os400.h os400: workaround an IBM ASCII run-time library bug 2024-07-27 00:17:13 +02:00
setup-vms.h tidy-up: misc spelling (bit, ASCII) 2024-08-15 15:30:09 +02:00
setup-win32.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
sha256.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
share.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
share.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
sigpipe.h transfer: Curl_sendrecv() and event related improvements 2024-08-17 10:52:53 +02:00
slist.c
slist.h
smb.c smb: do not redefine getpid on Windows 2024-10-13 18:01:51 +02:00
smb.h
smtp.c lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
smtp.h
sockaddr.h
socketpair.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
socketpair.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
socks_gssapi.c socks_gssapi: switch to dynbuf from buffer with strcpy 2024-09-26 23:24:14 +02:00
socks_sspi.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
socks.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
socks.h
speedcheck.c
speedcheck.h
splay.c splay: use access functions, add asserts, use Curl_timediff 2024-08-16 09:12:13 +02:00
splay.h splay: use access functions, add asserts, use Curl_timediff 2024-08-16 09:12:13 +02:00
strcase.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
strcase.h
strdup.c
strdup.h
strerror.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
strerror.h
strtok.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
strtok.h
strtoofft.c tidy-up: misc spelling (bit, ASCII) 2024-08-15 15:30:09 +02:00
strtoofft.h docs: misc language polish 2024-07-01 16:45:17 +02:00
system_win32.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
system_win32.h asyn-thread: stop using GetAddrInfoExW on Windows 2024-09-08 11:39:30 -04:00
telnet.c telnet: avoid two strcpy() by pointing to the strings instead 2024-10-08 15:40:00 +02:00
telnet.h
tftp.c tftp: avoid two memcpy/strcpy 2024-10-08 15:41:42 +02:00
tftp.h
timediff.c
timediff.h lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
timeval.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
timeval.h
transfer.c url: use same credentials on redirect 2024-10-13 23:18:42 +02:00
transfer.h multi: convert Curl_follow to static multi_follow 2024-10-11 12:26:36 +02:00
url.c url: use same credentials on redirect 2024-10-13 23:18:42 +02:00
url.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
urlapi-int.h
urlapi.c urlapi: normalize the IPv6 address 2024-10-03 16:05:03 +02:00
urldata.h url: use same credentials on redirect 2024-10-13 23:18:42 +02:00
version_win32.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
version_win32.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
version.c WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
warnless.c warnless: remove curlx_sktosi and curlx_sitosk 2024-10-05 00:28:06 +02:00
warnless.h warnless: remove curlx_sktosi and curlx_sitosk 2024-10-05 00:28:06 +02:00
ws.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
ws.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00