]> git.ipfire.org Git - thirdparty/openssl.git/commit
Ensure that the ERR_STATE is left in a consistent state
authorMatt Caswell <matt@openssl.org>
Thu, 12 Oct 2023 11:38:22 +0000 (12:38 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Oct 2023 09:08:12 +0000 (10:08 +0100)
commit94300d8de224e2135e75439e6b9c63eb7ad61fdf
tree272d53ecde2d5e1e4427adeb60268804c8f022b8
parentc327ebbe86c2f98f2204a54f33e21eef2e5de480
Ensure that the ERR_STATE is left in a consistent state

We shouldn't ever have the case where the data flags indicate that
err_data has been malloc'd, but the err_data field is NULL.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22368)
crypto/err/err.c
crypto/err/err_save.c