summaryrefslogtreecommitdiffstats
path: root/engines/e_capi_err.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-06-07 11:23:37 -0400
committerRich Salz <rsalz@openssl.org>2017-06-07 11:23:37 -0400
commitbe606c013d31847718ceb5d97c567988a771c2e5 (patch)
tree62f2994124f8830b3f71f2ccf60d9e56a713fb33 /engines/e_capi_err.c
parentdb0f35dda18403accabe98e7780f3dfc516f49de (diff)
Add a lock around the OBJ_NAME table
Various initialization functions modify this table, which can cause heap corruption in the absence of external synchronization. Some stats are modified from OPENSSL_LH_retrieve, where callers aren't expecting to have to take out an exclusive lock. Switch to using atomic operations for those stats. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3525)
Diffstat (limited to 'engines/e_capi_err.c')
0 files changed, 0 insertions, 0 deletions