]> git.ipfire.org Git - thirdparty/curl.git/commit
altsvc: return error on dot-only name
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jan 2025 11:05:02 +0000 (12:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Jan 2025 13:27:44 +0000 (14:27 +0100)
commit81a25ba7a420df67013b320b71f3548a32e50360
tree61c7d961b64ef6a13625d47e12b09fe521b9f488
parente67e2bda5ad24d2a5ff0e27debeaebbc89da98a7
altsvc: return error on dot-only name

Because it is a trailing dot that otherwise leads to a zero length name.

Coverity CID 1638755.

Closes #15986
lib/altsvc.c