]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: add handle asserts in DEBUG builds
authorStefan Eissing <stefan@eissing.org>
Wed, 22 Mar 2023 09:25:24 +0000 (10:25 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Mar 2023 12:57:20 +0000 (13:57 +0100)
commit5d1ecbcbd2eaea80485374afff09d04245e05e63
tree42dbbbbd73668c6b8a14a7d7092985214fc3f7fe
parent8a83bda0a2b013aa32a9de38e91f411069fec0ac
multi: add handle asserts in DEBUG builds

For GOOD_EASY_HANDLE and GOOD_MULTI_HANDLE checks

- allow NULL pointers to "just" return an error as before
- fail hard on nun-NULL pointers that no longer show the MAGICs

Closes #10812
lib/multi.c
lib/urldata.h