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


Commits:
6fe9b0c6 by Ryan Tandy at 2020-04-16T16:48:50+00:00
ITS#8383 Look for socklen_t in <ws2tcpip.h> too

MinGW targets do not have the <sys/socket.h> header. The configure check
would conclude that there is no socklen_t type, resulting in portable.h
containing its own definition of socklen_t, which would later conflict
with the actual definition in <ws2tcpip.h>.

Add <ws2tcpip.h> to the configure check for socklen_t, so that the
defined type is correctly detected.

- - - - -
f5143f99 by Ryan Tandy at 2020-04-16T16:52:18+00: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.

- - - - -


5 changed files:

- configure.in
- 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/-/compare/3347905d42eb1132cd84258c73c0fae892c6ef60...f5143f99eeb66d4f5698284391ed7adf6cef9f03

-- 
View it on GitLab: 
https://git.openldap.org/openldap/openldap/-/compare/3347905d42eb1132cd84258c73c0fae892c6ef60...f5143f99eeb66d4f5698284391ed7adf6cef9f03
You're receiving this email because of your account on git.openldap.org.


Reply via email to