OCSP: fix memory leak in OCSP_url_svcloc_new method.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Sun, 19 May 2019 22:33:58 +0000 (00:33 +0200)
committerPauli <paul.dale@oracle.com>
Sun, 26 May 2019 22:11:50 +0000 (08:11 +1000)
commit5b3accde606ffe01466426bd59407ffca0690d23
tree62ed3a98ae73b3425c529a8fb28c52cf11467c3e
parentd4d89a076262aa118c07a4766daf17202aef17f0
OCSP: fix memory leak in OCSP_url_svcloc_new method.
Add a few coverage test case.

Fixes #8949

[extended tests]

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8959)
crypto/ocsp/ocsp_ext.c
test/ocspapitest.c