summaryrefslogtreecommitdiffstats
path: root/crypto/mem.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-08-09 11:55:45 +0100
committerTomas Mraz <tomas@openssl.org>2022-08-17 12:57:48 +0200
commit2c35d61790603530d11f52eda9132ff8640f9852 (patch)
treef5939ffe6e3ef1eeb233eea65d30aef83fc117b2 /crypto/mem.c
parentb2ccfd81025fa115f1138123b9aa61657e779352 (diff)
Correct the documentation for OPENSSL_MALLOC_FD
The documentation was misleading in that it suggests that this environment variable will record information about all allocations. While this is true it doesn't record the most useful information that you might expect such as the requested size of the allocation! It is mainly for use in conjunction with OPENSSL_MALLOC_FAILURES, and reports information about what chance an allocation has of failing. We also clarify that the mem_debug functions are actually no-ops in 3.0. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18967)
Diffstat (limited to 'crypto/mem.c')
0 files changed, 0 insertions, 0 deletions