]> git.ipfire.org Git - thirdparty/curl.git/commit
doh: make Curl_doh_is_resolved survive a NULL pointer
authorDaniel Stenberg <daniel@haxx.se>
Thu, 21 Jan 2021 22:31:19 +0000 (23:31 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 21 Jan 2021 22:31:19 +0000 (23:31 +0100)
commitb97a60f5f4d3fb63002bc76fcbc6cdeb4572189e
treebc71e1c564ede3ff0c36c0b0702a4a7249bd709e
parent5a19cb5a3c1b0345306bb3738a0cdf43ea72852b
doh: make Curl_doh_is_resolved survive a NULL pointer

... if Curl_doh() returned a NULL, this function gets called anyway as
in a asynch procedure. Then the doh struct pointer is NULL and signifies
an OOM situation.

Follow-up to 6246a1d8c6776
lib/doh.c