In case lh_OBJ_NAME_insert returns NULL due to a failed malloc, onp
authormbuhl <mbuhl@openbsd.org>
Tue, 8 Nov 2022 23:19:09 +0000 (23:19 +0000)
committermbuhl <mbuhl@openbsd.org>
Tue, 8 Nov 2022 23:19:09 +0000 (23:19 +0000)
commita6e77c8721690972fa58c7a65d62e88b42c0ba8b
tree6fbcc234469890ed69731d7ba7f71e689beb52b2
parent33f9018f7f6efe3796b02de759358e523c778c5e
In case lh_OBJ_NAME_insert returns NULL due to a failed malloc, onp
is leaked in OBJ_NAME_add.
ok tb
Found by CodeChecker.
lib/libcrypto/objects/o_names.c