Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits: a6f3106a by Ondřej Kuzník at 2022-10-31T18:16:42+00:00 ITS#9045 Do not share cn=config entries with outside code
config_back_entry_get currently returns the entry directly without securing the rwlock, which is unsafe. However we can't keep holding it on return in case the caller decides to hold onto the entry indefinitely, hence rlock+entry_dup+runlock.
- - - - -
1 changed file:
- servers/slapd/bconfig.c
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/a6f3106afcf4324c11e85e20...