Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 868988 Details for
Bug 1070720
rsearch filter error on any search filter
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for rsearch filter bug
0112-Ticket-47722-BZ1070720-rsearch-filter-fix.patch (text/plain), 1.48 KB, created by
Martin Poole
on 2014-02-28 11:16:29 UTC
(
hide
)
Description:
patch for rsearch filter bug
Filename:
MIME Type:
Creator:
Martin Poole
Created:
2014-02-28 11:16:29 UTC
Size:
1.48 KB
patch
obsolete
>diff -up 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/rsearch.c.gefilterfix 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/rsearch.c >--- 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/rsearch.c.gefilterfix 2012-09-25 17:16:09.000000000 +0100 >+++ 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/rsearch.c 2014-02-28 09:32:52.636614067 +0000 >@@ -406,8 +406,8 @@ int main(int argc, char** argv) > > PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 0); > >- ntable = nt_new(0); > if (nameFile) { >+ ntable = nt_new(0); > if (!nt_load(ntable, nameFile)) { > printf("Failed to read name table\n"); > exit(1); >diff -up 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/searchthread.c.gefilterfix 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/searchthread.c >--- 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/searchthread.c.gefilterfix 2012-09-25 17:16:09.000000000 +0100 >+++ 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/rsearch/searchthread.c 2014-02-28 09:41:50.327226867 +0000 >@@ -366,7 +366,7 @@ static void st_unbind(SearchThread *st) > > static int st_search(SearchThread *st) > { >- char filterBuffer[100]; >+ char filterBuffer[255]; > char *pFilter; > struct timeval timeout; > struct timeval *timeoutp; >@@ -377,7 +377,7 @@ static int st_search(SearchThread *st) > scope = myScope; > if (ntable || numeric) { > char *s = NULL; >- char num[8]; >+ char num[25]; > > if (! numeric) { > do {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1070720
: 868988