mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
make sure size limits are passed to ldapsearch
This commit is contained in:
parent
15987caa11
commit
72e8a15068
@ -1229,7 +1229,7 @@ getNextPage:
|
||||
|
||||
if ( infile == NULL ) {
|
||||
rc = dosearch( ld, base, scope, NULL, filtpattern,
|
||||
attrs, attrsonly, NULL, NULL, NULL, -1 );
|
||||
attrs, attrsonly, NULL, NULL, NULL, sizelimit );
|
||||
|
||||
} else {
|
||||
rc = 0;
|
||||
@ -1242,7 +1242,7 @@ getNextPage:
|
||||
first = 0;
|
||||
}
|
||||
rc1 = dosearch( ld, base, scope, filtpattern, line,
|
||||
attrs, attrsonly, NULL, NULL, NULL, -1 );
|
||||
attrs, attrsonly, NULL, NULL, NULL, sizelimit );
|
||||
|
||||
if ( rc1 != 0 ) {
|
||||
rc = rc1;
|
||||
|
Loading…
Reference in New Issue
Block a user