]> git.ipfire.org Git - thirdparty/openssl.git/commit
Access data after obtaining the lock not before.
authorPauli <paul.dale@oracle.com>
Mon, 12 Aug 2019 10:07:39 +0000 (20:07 +1000)
committerPauli <paul.dale@oracle.com>
Mon, 12 Aug 2019 11:37:55 +0000 (21:37 +1000)
commitaee6e29f0e88df18ebc21dbcf9d4d5794d7511e0
tree75a5b9c67884d6418e360e1c94b49f2c9a7deaa5
parentd95422761116791966dcd0dd7035b46795482482
Access data after obtaining the lock not before.

It isn't completely clear that this constitutes a race condition, but it will
always be conservative to access the locked data after getting the lock.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9579)
crypto/ex_data.c