]> granicus.if.org Git - curl/commit
gtls: dereferencing NULL pointer
authorDaniel Stenberg <daniel@haxx.se>
Sat, 21 Mar 2015 15:47:22 +0000 (16:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 21 Mar 2015 15:53:23 +0000 (16:53 +0100)
commitfea13a17d849e6db94c553811423aa98017a2c77
tree88e1c2a6ba61cc2bd333f45f0363c15e4f0adca0
parent5f6f9e8b590008c476a66eb5ff3377446b1caad6
gtls: dereferencing NULL pointer

Coverity CID 1291165 pointed out 'chainp' could be dereferenced when
NULL if gnutls_certificate_get_peers() had previously failed.
lib/vtls/gtls.c