]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: add asserts that hostname has content
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 21:45:28 +0000 (23:45 +0200)
commit7f19fa98199f967bda2ddb1da1d889c6eafcc14b
tree22e97b62a41eb1885507cdaf5f4b94964fa9b819
parent55e0526566f9ea452dec6e443bcd3c358b76b977
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.

Closes #19146
lib/doh.c
lib/hostip.c
lib/socks.c