Ulrich Drepper
90bb2039e9
Check for overflows in expressions
...
Some passed in values might cause overflows in expressions.
2011-07-20 22:53:58 -04:00
Ulrich Drepper
01636b2140
Handle W; without long options in getopt
2011-07-06 21:27:14 -04:00
Roland McGrath
5615eaf264
Quash some new warnings from GCC 4.6.
2011-06-10 22:44:20 -07:00
Ulrich Drepper
8887a920a4
Fix unnecessary overallocation due to incomplete character
...
When incomplete characters are found at the end of a string the
code ran amok and allocated lots of memory. Stricter limits
are now in place.
2011-05-28 17:14:30 -04:00
Ulrich Drepper
9ce9d0ec90
Remove unused variable
2011-05-28 14:43:43 -04:00
Ulrich Drepper
f2962a7195
Add a few more alloca size checks
2011-05-22 23:04:16 -04:00
Reuben Thomas
78e64fdcaa
Update documentation in regex.h
2011-05-20 09:14:03 -04:00
Aharon Robbins
a4b89fd846
Update RE_SYNTAX*_AWK constants in regex.h
2011-05-16 10:28:44 -04:00
Ulrich Drepper
bd25564e1e
Provide more helpful error message in getopt
...
If provide with an ambiguous long option we now show all the possibilities.
2011-05-15 13:35:09 -04:00
Andreas Schwab
81a5726bd2
Add syncfs syscall.
2011-04-01 13:08:28 -04:00
Ulrich Drepper
4c1423edfb
Fix typos in comments.
2011-04-01 10:39:30 -04:00
Ulrich Drepper
8126d90480
Check size of pattern in wide character representation in fnmatch.
2011-03-18 05:29:20 -04:00
Roland McGrath
a0bf67cca2
Fix some warning nits.
2011-02-04 10:53:51 -08:00
Ulrich Drepper
c0dafcf176
Update copyright year.
2011-01-17 15:08:10 -05:00
Ulrich Drepper
794c3ad3a4
FIx handling of unterminated [ expression in fnmatch.
2011-01-14 08:06:22 -05:00
Jim Meyering
2543fef229
Fix infloop on persistent failing calloc in regex.
2010-12-27 18:19:56 -05:00
Andreas Schwab
3540d66b66
Fix memory leak in fnmatch
2010-11-12 03:51:28 -05:00
Ulrich Drepper
b833d51fbb
One more regex memory leak fixed.
2010-10-12 09:00:33 -04:00
Ulrich Drepper
e9b9cbf5e9
More regex memory leak fixes and tests.
2010-10-11 22:46:44 -04:00
Ulrich Drepper
ef06edbee6
Test case for last regex problem.
2010-10-11 12:34:53 -04:00
Ulrich Drepper
a129c80d54
Fix memory leak for some invalid regular expressions.
2010-10-11 11:46:22 -04:00
Ulrich Drepper
dda51327ba
Undo feature selection for ftruncate.
2010-09-21 11:01:10 -07:00
Roland McGrath
090555538d
Rejigger header generation for default uname implementation.
2010-08-24 11:56:52 -07:00
Ulrich Drepper
f15ce4d8dc
Avoid too much stack use in fnmatch.
2010-08-09 21:09:37 -07:00
Ulrich Drepper
ac2b484c02
Correct checking loop in group_member.
2010-06-19 11:38:04 -07:00
Jakub Jelinek
f32f28695d
Fix a couple of __REDIRECT () __THROW occurrences
...
This patch fixes some cases which fail to parse with C++.
2010-06-14 08:18:26 -07:00
Andreas Schwab
d84acf388e
Fix lookup of collation sequence value during regexp matching
2010-05-05 09:59:25 -07:00
Roland McGrath
3aa6513708
Fix tst-chmod not to write into srcdir.
2010-04-09 13:59:34 -07:00
Ulrich Drepper
e326768467
Add tests for recent getopt changes.
2010-04-07 22:59:40 -07:00
Eric Blake
66b93be793
getopt mishandles optstring of "+:"
2010-04-07 17:56:20 -07:00
Eric Blake
cf0b68196c
getopt mistakenly allows '-;' as short option
2010-04-07 17:28:36 -07:00
Eric Blake
aa7f642769
Fix -W with optional parameters in getopt.
...
According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'. But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.
2010-04-07 17:16:27 -07:00
Ulrich Drepper
247fdc8ee6
Fix printing error messages in getopt.
2010-04-04 22:48:55 -07:00
Ulrich Drepper
ed08740859
Document problem with NATs in getaddrinfo.
2010-04-03 17:56:51 -07:00
Ulrich Drepper
0a164fe03e
Whitespace fixes.
2010-03-27 06:19:03 -07:00
Ulrich Drepper
a5f3b0f830
Fix one more issue with the glob patch.
2010-03-27 05:48:17 -07:00
Ulrich Drepper
c27849fbbf
Add test for last glob bug.
2010-03-24 12:10:51 -07:00
Ulrich Drepper
8f2e399413
Fix glob with empty pattern
2010-03-24 11:58:05 -07:00
Ulrich Drepper
561470e061
Update copyright year.
2010-03-15 11:50:59 -07:00
Paul Eggert
aef699dce1
regexec.c: avoid overflow in realloc buffer length computation
2010-01-22 12:41:12 -08:00
Paul Eggert
74bc9f14db
regexec.c: avoid leaks on out-of-memory failure paths
2010-01-22 12:33:58 -08:00
Paul Eggert
42a2c9b5c3
regexec.c: avoid overflow in computing sum of lengths
2010-01-22 12:22:18 -08:00
Paul Eggert
eadc09f22c
re_search_internal: Avoid overflow in computing re_malloc buffer size
2010-01-22 12:15:53 -08:00
Paul Eggert
4cd028677b
prune_impossible_nodes: Avoid overflow in computing re_malloc buffer size
2010-01-22 12:03:56 -08:00
Paul Eggert
daa8454919
regexec.c: avoid arithmetic overflow in buffer size calculation
2010-01-22 10:52:38 -08:00
Paul Eggert
d044d844dd
regexec.c: simplify re_search_2_stub
2010-01-22 10:39:59 -08:00
Ulrich Drepper
5ddf954cf1
Simplify test in re_string_skip_chars.
2010-01-22 10:22:53 -08:00
Ulrich Drepper
4f08104cbf
regex_internal.c: don't assume WEOF fits in wchar_t
2010-01-22 10:17:45 -08:00
Ulrich Drepper
0dae5d4ec1
regex_internal.c: remove useless variable and the code to set it.
2010-01-22 09:57:30 -08:00
Ulrich Drepper
2236464488
Extend overflow detection in re_dfa_add_node.
2010-01-22 09:48:35 -08:00