JiashengJiang 0d8ce085d3 apps/lib/apps.c: Add a check for OPENSSL_strdup()
Add a check for the return value of OPENSSL_strdup() to guarantee the success of allocation, similar to the other call sites.

Fixes: c7d5ea2670 ("Prepare to detect index changes in OCSP responder.")
Signed-off-by: JiashengJiang <jiasheng@purdue.edu>

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27172)

(cherry picked from commit 930c645e6b74a09398f6345b2d265c38ff035afe)
2025-03-28 11:40:31 +01:00
..
2020-10-15 14:10:06 +01:00
2023-09-07 09:59:15 +01:00
2021-04-22 14:38:44 +01:00
2022-02-14 10:18:46 +01:00
2024-06-04 14:50:58 +02:00
2019-09-04 17:26:07 +02:00
2022-02-03 13:56:38 +01:00
2020-05-15 14:09:49 +01:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2024-09-03 14:44:27 +02:00
2025-02-11 14:32:03 +00:00
2023-09-07 09:59:15 +01:00
2021-06-17 13:24:59 +01:00
2020-06-25 14:13:12 +01:00