openssl/include/internal
Matt Caswell d84f5515fa Don't hold a lock when calling a callback in ossl_namemap_doall_names
We don't want to hold a read lock when calling a user supplied callback.
That callback could do anything so the risk of a deadlock is high.
Instead we collect all the names first inside the read lock, and then
subsequently call the user callback outside the read lock.

Fixes #14225

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14250)
2021-02-25 08:37:22 +10:00
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
asn1.h Update copyright year 2021-02-18 15:05:17 +00:00
bio.h Update copyright year 2021-02-18 15:05:17 +00:00
comp.h
conf.h Update copyright year 2021-02-18 15:05:17 +00:00
constant_time.h Update copyright year 2021-02-18 15:05:17 +00:00
core.h Update copyright year 2021-02-18 15:05:17 +00:00
cryptlib.h include/internal: add a few missing #pragma once directives 2021-02-10 23:20:58 +01:00
dane.h Update copyright year 2021-02-18 15:05:17 +00:00
deprecated.h Update copyright year 2021-02-18 15:05:17 +00:00
der.h
dso.h Update copyright year 2021-02-18 15:05:17 +00:00
dsoerr.h Update copyright year 2021-02-18 15:05:17 +00:00
endian.h Update copyright year 2021-02-18 15:05:17 +00:00
err.h Update copyright year 2021-02-18 15:05:17 +00:00
ffc.h Update copyright year 2021-02-18 15:05:17 +00:00
ktls.h include/internal: add a few missing #pragma once directives 2021-02-10 23:20:58 +01:00
namemap.h Don't hold a lock when calling a callback in ossl_namemap_doall_names 2021-02-25 08:37:22 +10:00
nelem.h Update copyright year 2021-02-18 15:05:17 +00:00
numbers.h Update copyright year 2021-02-18 15:05:17 +00:00
o_dir.h Update copyright year 2021-02-18 15:05:17 +00:00
packet.h Update copyright year 2021-02-18 15:05:17 +00:00
param_build_set.h Update copyright year 2021-02-18 15:05:17 +00:00
passphrase.h Update copyright year 2021-02-18 15:05:17 +00:00
property.h Update copyright year 2021-02-18 15:05:17 +00:00
propertyerr.h Update copyright year 2021-02-18 15:05:17 +00:00
provider.h provider: add an unquery function to allow providers to clean up. 2021-02-24 21:24:36 +10:00
refcount.h Update copyright year 2021-02-18 15:05:17 +00:00
sha3.h Update copyright year 2021-02-18 15:05:17 +00:00
sizes.h Update copyright year 2021-02-18 15:05:17 +00:00
sm3.h Update copyright year 2021-02-18 15:05:17 +00:00
sockets.h Update copyright year 2021-02-18 15:05:17 +00:00
sslconf.h Update copyright year 2021-02-18 15:05:17 +00:00
symhacks.h Update copyright year 2021-02-18 15:05:17 +00:00
thread_once.h include/internal: add a few missing #pragma once directives 2021-02-10 23:20:58 +01:00
tlsgroups.h Update copyright year 2021-02-18 15:05:17 +00:00
tsan_assist.h