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:12:35 +0000 (08:12 +1000)
commit9f084451a33d60c3da6833739f6e26f203ca85d2
tree70daf8425e58a021898122f3de8c053e7bb0dca2
parent22598dab5665d9218a4da9e98de16253849c0408
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)

(cherry picked from commit 5b3accde606ffe01466426bd59407ffca0690d23)
crypto/ocsp/ocsp_ext.c
test/ocspapitest.c