]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: add asserts that hostname has content bagder/assert-host 19146/head
authorDaniel Stenberg <daniel@haxx.se>
Sun, 19 Oct 2025 14:40:11 +0000 (16:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 19 Oct 2025 14:41:35 +0000 (16:41 +0200)
commit086e35ac22eb2746953f05280d668e96de6fe5f6
tree42b30202103e97a4cb196a2e9fd15f9168e48244
parent976333dd4052855c22369e89e60a80a9cf925161
lib: add asserts that hostname has content

For all network related protocols there must be a non-blank hostname
used. This change adds a few asserts in some places to make debug/tests
catch mistakes if any such would slip in.
lib/doh.c
lib/hostip.c
lib/socks.c