]> git.ipfire.org Git - thirdparty/curl.git/commit
doh: remove wrong but unreachable exit path from doh_decode_rdata_name
authorDaniel Stenberg <daniel@haxx.se>
Thu, 13 Mar 2025 22:28:42 +0000 (23:28 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 14 Mar 2025 08:09:25 +0000 (09:09 +0100)
commit27e07b2943ca4ab3f8e4910466231f822299421d
treeb75f31d595266c1d19513376d6056bd772487d92
parentacdb48272a53fe97f63e5437fce27c7036a9c43e
doh: remove wrong but unreachable exit path from doh_decode_rdata_name

The condition could not happen, as the function is only called from a
single place where the caller already made sure it can't happen. This
change still removes the flawed logic.

Reported-by: Ronald Crane
Closes #16710
lib/doh.c