X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-ndb%2Fsearch.cpp;h=fe9c5e691ecf8c6e4a9d877797ff446b57cf8754;hb=4d0d12db27b3b44cc36acc089b0e640320480fe7;hp=7631cb798cc0c3c7a054f229e3808d3242378254;hpb=966cef8c9a3238efe0c482ad0ee08fd98944d112;p=openldap diff --git a/servers/slapd/back-ndb/search.cpp b/servers/slapd/back-ndb/search.cpp index 7631cb798c..fe9c5e691e 100644 --- a/servers/slapd/back-ndb/search.cpp +++ b/servers/slapd/back-ndb/search.cpp @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2008-2011 The OpenLDAP Foundation. + * Copyright 2008-2012 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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;