]> granicus.if.org Git - curl/commit
extract_if_dead: follow-up to 54b201b48c90a
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jan 2019 23:06:26 +0000 (00:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Jan 2019 07:49:16 +0000 (08:49 +0100)
commitbbae24c3ae3bce7518f0fbd2d260359ee6a36510
tree3100c47482e9ab46df3aa1851b20631a903489ed
parentfe71b2d92894f3ec050845db55065960e61ce2c1
extract_if_dead: follow-up to 54b201b48c90a

extract_if_dead() dead is called from two functions, and only one of
them should get conn->data updated and now neither call path clears it.

scan-build found a case where conn->data would be NULL dereferenced in
ConnectionExists() otherwise.

Closes #3473
lib/url.c