]> git.ipfire.org Git - thirdparty/openssl.git/commit
Ensure the rrl object is set to NULL after it is freed
authorMatt Caswell <matt@openssl.org>
Wed, 27 Jul 2022 13:52:13 +0000 (14:52 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 18 Aug 2022 15:38:14 +0000 (16:38 +0100)
commitefc84eacb7a500306c7cb55e4e2d707dfd9d1ac1
tree59a5dd712eced92cf0db5babe397bfa6cb72af03
parent9b7fb65e1520f398344ea8b7f3b4b097ae2617d7
Ensure the rrl object is set to NULL after it is freed

Once we free the rrl object we should NULL it to prevent a dangling ref
to it. Otherwise we could get a double free.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18132)
ssl/record/rec_layer_s3.c