]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/core_fetch.c
Replumbing: better reference counter control in ossl_method_construct()
authorRichard Levitte <levitte@openssl.org>
Thu, 14 Mar 2019 20:51:50 +0000 (21:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Mar 2019 13:27:02 +0000 (14:27 +0100)
commita383083194b882a904ae66fcf74ebc348602407c
tree3595ff7b0a6161c63cc8d9bc2e971d3c9f64bd03
parent7bb19a0f950dd87607133d526e31a083f35921fd
Replumbing: better reference counter control in ossl_method_construct()

Fully assume that the method constructors use reference counting.
Otherwise, we may leak memory, or loose track and do a double free.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8341)
crypto/core_fetch.c
doc/internal/man3/ossl_method_construct.pod