summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/regex.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug 610119 - fix coverify Defect Type: Null pointer dereferences issues ↵Endi S. Dewata2010-08-231-1/+2
| | | | | | | | | 12167 - 12199 https://bugzilla.redhat.com/show_bug.cgi?id=610119 Resolves: bug 610119 Bug description: Fix coverify Defect Type: Null pointer dereferences issues 12167 - 12199 Fix description: Catch possible NULL pointer in slapi_re_subs().
* fix pcre build issuesRich Megginson2009-08-121-0/+3
| | | | Reviewed by: nkinder (Thanks!)
* Compiler warnings and paged results on DSENoriko Hosoi2009-06-031-7/+7
| | | | | 1) Fixing compiler warnings on regex.c. 2) Adding dse_search_set_release to dse.c to support simple paged results on DSE.
* Use thread aware library for complex regex searchesNoriko Hosoi2009-05-281-1099/+157
| | | | | | | | For more details, see the design doc at http://directory.fedoraproject.org/wiki/Thread_Aware_Regex Additional 2 unrelated changes are being made: 1) dbgen.pl.in: secretary and manager are having a dn format value "cn=...". 2) slapi_counter_sunos_sparcv9.S: adding "#define _ASM 1" to force to set an assembler code macro _ASM.
* Resolves: 174394Nathan Kinder2009-01-121-1/+6
| | | | Summary: Make regex filter code handle empty values properly.
* Resoves: #448831Noriko Hosoi2008-06-301-6/+26
| | | | | | | | Summary: attacker can tie up CPU in regex code Description: when substring search is requested, sets the time limit based upon the nsslapd-timelimit value. Pass the timelimit (time_up) to the regular expression function. When the time is up, it returns the "Timelimit exceeded" error. Note: timelimit is applied non-Directory Manager users.
* Resolves: #182621 (#443955)Noriko Hosoi2008-04-291-29/+63
| | | | | | | Summary: Allow larger regex buffer to enable long substring filters Description: Applying the patches provided by ulf.weltman@hp.com. regex.c: use dynamically allocated regex buffer, use ptrdiff_t to store the offsets to be restored after the realloc, and use a constant for the value of "how much the NFA buffer can grow in one iteration on the pattern". string.c: use dynamically allocated buffer if the prepared buffer is not large enough, used wrong pointer (pat instead of p) in a debug message, and performed an unneeded strcat of ".*"
* Resolves: #214533Noriko Hosoi2006-11-101-0/+15
| | | | | | | | | | Summary: configure needs to support --with-fhs (Comment #6) Changes: Added the following include next to the end of the copyright block. + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif +
* Fixed licensing typoNathan Kinder2005-04-191-1/+6
|
* 155068 - Added license to source filesNathan Kinder2005-04-151-0/+33
|
* 149951 - Updated source code copyrightsNathan Kinder2005-02-281-4/+7
|
* Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. ↵ldapserver7xcvsadm2005-01-211-0/+1045
(foxworth)