]> git.ipfire.org Git - thirdparty/curl.git/commit
http2:set_transfer_url() return early on OOM
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Dec 2021 10:19:52 +0000 (11:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Dec 2021 13:32:29 +0000 (14:32 +0100)
commitb3f9c1aa09cbcdf6350d627f79f7d0e86cb178d3
tree2be0f1b2260eccc89fc0b7f1b3754f98cde4fb03
parentbc064a8177f14fd69a6bcd7735b19ab84f3ba81d
http2:set_transfer_url() return early on OOM

If curl_url() returns NULL this should return early to avoid mistakes -
even if right now the subsequent function invokes are all OK.

Coverity (wrongly) pointed out this as a NULL deref.

Closes #8100
lib/http2.c