[openssl/openssl] 5fbfd6: Fix error handling in lhash contract

Bernd Edlinger noreply at github.com
Thu Sep 21 12:52:39 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5fbfd641aeebdf4b29a0749e13a79a1e59502878
      https://github.com/openssl/openssl/commit/5fbfd641aeebdf4b29a0749e13a79a1e59502878
  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)




More information about the openssl-commits mailing list