From: Howard Chu Date: Wed, 20 Mar 2002 01:27:08 +0000 (+0000) Subject: In bdb_idl_fetch_key, the DB_MULTIPLE buffer must be a multiple of 1024 X-Git-Tag: OPENLDAP_REL_ENG_2_MP~335 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=780d427fa6e0e046459e7248097fcec23baf05e1;p=openldap In bdb_idl_fetch_key, the DB_MULTIPLE buffer must be a multiple of 1024 bytes in size. --- diff --git a/servers/slapd/back-bdb/idl.c b/servers/slapd/back-bdb/idl.c index b63b9da5b4..d3538177fa 100644 --- a/servers/slapd/back-bdb/idl.c +++ b/servers/slapd/back-bdb/idl.c @@ -251,7 +251,7 @@ bdb_idl_fetch_key( #ifdef BDB_IDL_MULTI { DBC *cursor; - ID buf[BDB_IDL_DB_SIZE]; + ID buf[BDB_PAGESIZE*4]; ID *i; void *ptr; size_t len;