summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regcomp.c
AgeCommit message (Expand)AuthorFilesLines
2019-02-05Fix typo in last commit.millert1-2/+2
2019-02-05Avoid an out of bounds read when regcomp() is passed a bad expression.millert1-1/+5
2017-10-30fix oob read; form llvm via Vlad Tsyrklevich; ok millert@otto1-3/+3
2016-12-22Clarify code by eliminating unused #define's MUSTSEE, MUSTNOTSEE and inliningkrw1-6/+3
2016-12-21Adopt relevant part of NetBSD's r1.7 commit to discard unused results of thekrw1-2/+2
2016-09-21Delete casts to off_t and size_t that are implied by assignmentsguenther1-3/+2
2015-12-28Remove NULL-checks before free() and a few related dead assignments.mmcc1-3/+2
2015-11-01delete old lint ARGSUSED commentsguenther1-3/+1
2014-10-18reallocarray() -- a little tricky to reviewderaadt1-3/+3
2014-09-08add \<word\> support to regcomp. prompted by renewed interest from jsgtedu1-2/+28
2014-05-06reallocarray for things which are arrays. ok deraadttedu1-8/+8
2013-11-26unsigned char cast for ctype; ok guentherderaadt1-2/+2
2013-04-17silence some warnings by adding prototypes, casts, and headers astedu1-4/+3
2011-11-07don't handle out-of-mem conditions using compiled out asserts (ugh). Fromotto1-9/+10
2010-11-21the posix regex mistake is here to stay. ok deraadttedu1-13/+1
2008-02-23if the first call to allocset() fails, the second might deref a NULLotto1-1/+4
2007-10-10add a proper test around allocsetchl1-50/+32
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-3/+3
2006-03-31(char)to{upper,lower}()deraadt1-3/+3
2005-08-05zap rcsidespie1-8/+1
2004-11-30remove useless comments, once used for header file generation and deleteotto1-97/+38
2004-10-17ansify and deregister; no change in obj code. ok millert@otto1-255/+185
2004-05-08When parsing what follows [, do not allocate memory that is not used,otto1-3/+7
2003-12-07Unbreak handling of non-ASCII chars. Fixes PR 3594. From FreeBSDotto1-15/+17
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2003-04-05strcpy/strcat -> strlcpy/strlcattdeval1-3/+2
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-38/+38
2001-11-01much greater care for malloc & realloc failures; millert okderaadt1-16/+37
1998-08-14realloc repairderaadt1-4/+9
1997-04-30Remove dead code and variablestholo1-21/+1
1997-04-28- cast usages of *printf() to void since we don't check return valmillert1-1/+27
1996-09-15Remove dead codetholo1-64/+3
1996-08-19Fix RCS idstholo1-9/+1
1995-10-18initial import of NetBSD treederaadt1-0/+1704