]> git.ipfire.org Git - thirdparty/openssl.git/commit
apps: introduce app_malloc_array()
authorEugene Syromiatnikov <esyr@openssl.org>
Thu, 4 Sep 2025 15:57:18 +0000 (17:57 +0200)
committerNeil Horman <nhorman@openssl.org>
Sun, 7 Sep 2025 11:22:24 +0000 (07:22 -0400)
commit4f288b60e847f563ae0da30c7b54936ca075ba60
tree3dfd3f95c71eda1880de81e65ab7c1f983b71df6
parent362739d771f671b444cb9a12a34accf2dce8220e
apps: introduce app_malloc_array()

Similar to app_malloc(), provides a wrapper for OPENSSL_malloc_array()
that bails out when a NULL pointer is returned.

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28444)
apps/include/apps.h
apps/lib/apps.c
test/testutil/apps_shims.c