]> granicus.if.org Git - curl/commit
http2: fix null pointer dereference in http2_connisdead
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Apr 2018 14:07:10 +0000 (16:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Apr 2018 21:23:02 +0000 (23:23 +0200)
commit1d71ce845a6ac3887205c2842fad0a476f7cf3ec
tree9ae15e425c5ec29dd87e1d7945ff1d5264af426f
parent2ef1662e4bc20f1641bc678141c2df0e42e21e3f
http2: fix null pointer dereference in http2_connisdead

This function can get called on a connection that isn't setup enough to
have the 'recv_underlying' function pointer initialized so it would try
to call the NULL pointer.

Reported-by: Dario Weisser
Follow-up to db1b2c7fe9b093f8 (never shipped in a release)
Closes #2536
lib/http2.c