Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP


Commits:
38f9dd2f by Ryan Tandy at 2020-04-14T10:04:33-07:00
ITS#7878 Replace uint32_t with unsigned in back-mdb

init.c: align mi_dbenv_flags and flags with mdb_dbi_open, which declares
flags as unsigned int.

search.c: align mi_rtxn_size with ARG_UINT; adjust ww_ctx.nentries to
silence a warning about signed/unsigned comparison.

config.c: parse checkpoint config more carefully. Reject negative or
unreasonably large values for kbytes and minutes. Ensure both values are
parsed successfully before making any changes.

Fixes a compilation failure under MinGW, where stdint.h types are not
implicitly pulled in by other headers.

- - - - -


4 changed files:

- servers/slapd/back-mdb/back-mdb.h
- servers/slapd/back-mdb/config.c
- servers/slapd/back-mdb/init.c
- servers/slapd/back-mdb/search.c


View it on GitLab: 
https://git.openldap.org/openldap/openldap/-/commit/38f9dd2fb87d5b851e54a6c712baa1c91e27fe1f

-- 
View it on GitLab: 
https://git.openldap.org/openldap/openldap/-/commit/38f9dd2fb87d5b851e54a6c712baa1c91e27fe1f
You're receiving this email because of your account on git.openldap.org.


Reply via email to