Make OPENSSL_malloc_init() a no-op
authorMatt Caswell <matt@openssl.org>
Tue, 5 Feb 2019 14:25:18 +0000 (14:25 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 7 Feb 2019 14:25:38 +0000 (14:25 +0000)
commite1cce612a6520555805c25be2539f231c22696d9
treecf00b063a466262ec03139f85beac4608df87bc0
parent3b09585bd67c41445be4be8a84233e5d9a699264
Make OPENSSL_malloc_init() a no-op

Making this a no-op removes a potential infinite loop than can occur in
some situations.

Fixes #2865

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8167)

(cherry picked from commit ef45aa14c5af024fcb8bef1c9007f3d1c115bd85)
doc/man3/OPENSSL_malloc.pod
include/openssl/crypto.h