https://bugs.openldap.org/show_bug.cgi?id=7878
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.0 |2.4.50 Resolution|TEST |FIXED
--- Comment #7 from Quanah Gibson-Mount quanah@openldap.org --- commit f5143f99eeb66d4f5698284391ed7adf6cef9f03 (HEAD -> OPENLDAP_REL_ENG_2_4, origin/OPENLDAP_REL_ENG_2_4) Author: Ryan Tandy ryan@nardis.ca Date: Fri Apr 3 15:15:27 2020 -0700
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.