Skip to content

Commit

Permalink
coverity: NULL dereference
Browse files Browse the repository at this point in the history
Fixes coverity 1544699.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from #22138)
  • Loading branch information
paulidale committed Sep 20, 2023
1 parent b79e73c commit be01f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/engine/eng_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup,
if (added && !engine_cleanup_add_first(cleanup)) {
lh_ENGINE_PILE_free(&(*table)->piles);
*table = NULL;
goto end;
}
while (num_nids--) {
tmplate.nid = *nids;
Expand Down

0 comments on commit be01f60

Please sign in to comment.