openssl/crypto/conf
Matt Caswell 8a585601fe Fix out-of-memory condition in conf
conf has the ability to expand variables in config files. Repeatedly doing
this can lead to an exponential increase in the amount of memory required.
This places a limit on the length of a value that can result from an
expansion.

Credit to OSS-Fuzz for finding this problem.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2894)
2017-03-12 00:19:14 +00:00
..
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
conf_api.c Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx 2016-05-20 10:48:29 -04:00
conf_def.c Fix out-of-memory condition in conf 2017-03-12 00:19:14 +00:00
conf_def.h make update 2016-05-01 15:10:15 +02:00
conf_err.c Fix out-of-memory condition in conf 2017-03-12 00:19:14 +00:00
conf_lib.c RT4562: Fix misleading doc on OPENSSL_config 2016-06-14 12:30:37 -04:00
conf_mall.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
conf_mod.c Whitespace cleanup in crypto 2016-06-29 09:56:39 -04:00
conf_sap.c RT4562: Fix misleading doc on OPENSSL_config 2016-06-14 12:30:37 -04:00
keysets.pl Adjust a last few generators to new license boilerplate and C code style 2016-05-01 15:08:34 +02:00