]> git.sur5r.net Git - openldap/commitdiff
Use larger key buffer
authorHoward Chu <hyc@openldap.org>
Tue, 1 Feb 2011 21:24:38 +0000 (21:24 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 1 Feb 2011 21:24:38 +0000 (21:24 +0000)
servers/slapd/back-ndb/search.cpp

index 7631cb798cc0c3c7a054f229e3808d3242378254..123cd0545fce7ea07c0234393d601035df717999 100644 (file)
@@ -447,7 +447,7 @@ static int ndb_oc_search( Operation *op, SlapReply *rs, Ndb *ndb, NdbTransaction
                {
 #if 1  /* NDBapi was broken here but seems to work now */
                        Ndb::Key_part_ptr keys[2];
-                       char xbuf[32];
+                       char xbuf[512];
                        keys[0].ptr = &eid;
                        keys[0].len = sizeof(eid);
                        keys[1].ptr = NULL;