]> git.sur5r.net Git - openldap/commitdiff
In bdb_idl_fetch_key, the DB_MULTIPLE buffer must be a multiple of 1024
authorHoward Chu <hyc@openldap.org>
Wed, 20 Mar 2002 01:27:08 +0000 (01:27 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 20 Mar 2002 01:27:08 +0000 (01:27 +0000)
bytes in size.

servers/slapd/back-bdb/idl.c

index b63b9da5b450d790e872a23aa449c552ccd79ef3..d3538177faf9d850981586507b2f10a510363e61 100644 (file)
@@ -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;