]> git.ipfire.org Git - thirdparty/curl.git/commit
curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Oct 2024 12:09:59 +0000 (14:09 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Oct 2024 12:33:40 +0000 (14:33 +0200)
commiteed3c8f4b722d86621a5946a98f62c6963026596
treeaf7e47b3ea6b2eeb5cf0bfd530216209e05b5919
parentad1c49bc0ec91110897666c0176bdaac27c884f4
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
15 files changed:
include/curl/curl.h
include/curl/multi.h
lib/doh.c
lib/easy.c
lib/escape.c
lib/formdata.c
lib/formdata.h
lib/mime.c
lib/multi.c
lib/psl.h
lib/setopt.c
lib/share.c
lib/vssh/libssh2.c
lib/ws.c
src/tool_operate.c