]> git.ipfire.org Git - thirdparty/curl.git/commit
https-connect, fix httpsrr target check
authorStefan Eissing <stefan@eissing.org>
Fri, 4 Apr 2025 16:10:28 +0000 (18:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Apr 2025 19:31:02 +0000 (21:31 +0200)
commit4f3c22d77d752fea6ff9ab2706f70d58882ea466
tree7aade5c68866f662c65ef0f489b61f200043c2fc
parent0e9f2c41b6d3c45d79aebf43cee91b046bcb4aee
https-connect, fix httpsrr target check

The HTTPSRR check on the record's target was not working as it used the
wrong index on the NUL byte if the target was not NULL.

Fixes #16966
Reported-by: Pavel Kropachev
Closes #16968
lib/cf-https-connect.c