[openssl/openssl] 1ae2bb: Fix error handling in lhash contract
Bernd Edlinger
noreply at github.com
Thu Sep 21 12:52:39 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 1ae2bb26d3beb9de6fa5edfa198cf86e138c00d8
https://github.com/openssl/openssl/commit/1ae2bb26d3beb9de6fa5edfa198cf86e138c00d8
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M crypto/lhash/lhash.c
Log Message:
-----------
Fix error handling in lhash contract
When the realloc fails in contract, this not a fatal
error, since the memory is only shrinked. It is also no
option to exit the function at this point, since that
would leave the hash table in an inconsistent state.
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22154)
(cherry picked from commit 5fbfd641aeebdf4b29a0749e13a79a1e59502878)
More information about the openssl-commits
mailing list