]> granicus.if.org Git - curl/commit
checkconnection: don't call with NULL pointer
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Apr 2011 11:17:55 +0000 (13:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Apr 2011 11:17:55 +0000 (13:17 +0200)
commitf01df1979812a1870b54ec676688137f61ab36c0
tree6ff3ae7b9febc9a1fe768172ce5f934e926a7ebd
parentb2e06ea166a6c57befd9113ebcd0b4662f41a56f
checkconnection: don't call with NULL pointer

When checking if an existing RTSP connection is alive or not, the
checkconnection function might be called with a SessionHandle pointer
being NULL and then referenced causing a crash. This happened only using
the multi interface.

Reported by: Tinus van den Berg

Bug: http://curl.haxx.se/bug/view.cgi?id=3280739
lib/connect.c
lib/rtsp.c