diff options
author | jasper-smit-servicenow <jasper.smit@servicenow.com> | 2024-07-18 09:45:22 +0200 |
---|---|---|
committer | Todd Short <todd.short@me.com> | 2024-07-21 12:43:17 -0400 |
commit | 607e186d070df2bc8c5abafbc949e8ef568614bd (patch) | |
tree | 0efa0acad4cb1e8ce8fdac737e0aa4a78207e498 | |
parent | a3bfc4fd5b5641b05d6611073146627cf9114436 (diff) | |
download | openssl-607e186d070df2bc8c5abafbc949e8ef568614bd.zip openssl-607e186d070df2bc8c5abafbc949e8ef568614bd.tar.gz openssl-607e186d070df2bc8c5abafbc949e8ef568614bd.tar.bz2 |
Update X509V3_get_d2i.pod returned pointer needs to be freed
CLA: trivial
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/24927)
(cherry picked from commit a4fd94851261c55f9ad020bf22d4f29bda0b58be)
(cherry picked from commit 12c38af865a0a60c98f6b63de5be4b8ce2d1ace5)
-rw-r--r-- | doc/man3/X509V3_get_d2i.pod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man3/X509V3_get_d2i.pod b/doc/man3/X509V3_get_d2i.pod index 4a2e81b..dc00090 100644 --- a/doc/man3/X509V3_get_d2i.pod +++ b/doc/man3/X509V3_get_d2i.pod @@ -108,6 +108,7 @@ The function X509V3_get_d2i() and its variants will return NULL if the extension is not found, occurs multiple times or cannot be decoded. It is possible to determine the precise reason by checking the value of I<*crit>. +The returned pointer must be explicitly freed. The function X509V3_add1_i2d() and its variants allocate B<X509_EXTENSION> objects on STACK I<*x> depending on I<flags>. The B<X509_EXTENSION> objects |