]> git.ipfire.org Git - thirdparty/curl.git/commit
hsts: remove assert for zero length domain
authorDaniel Stenberg <daniel@haxx.se>
Wed, 10 Jan 2024 08:46:19 +0000 (09:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 Jan 2024 12:58:14 +0000 (13:58 +0100)
commit24ae4a07f3496ddb1506a79e34b969cc2e026091
treecb50915de4c9db7c807b338449cc11227bfb6774
parenta9e128d569f767bc6a1e0a4f60b49170e6b0d371
hsts: remove assert for zero length domain

A zero length domain can happen if the HSTS parser is given invalid
input data which is not unheard of and is done by the fuzzer.

Follow-up from cfe7902111ae547873

Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65661

Closes #12676
lib/hsts.c