glibc/posix
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
..
bits * posix/bits/posix1_lim.h: Cleanup namespace a bit. 2009-04-26 06:18:19 +00:00
glob * configure: Regenerated. 2007-07-13 21:52:52 +00:00
rxspencer [BZ 697] 2009-01-08 00:47:30 +00:00
sys Fix compile error with sys/wait.h. 2010-01-12 05:41:52 -08:00
_exit.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
alarm.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
annexc.c * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed 2004-03-25 03:54:03 +00:00
BOOST.tests Update. 2003-12-27 23:40:06 +00:00
bsd-getpgrp.c Update. 2002-08-03 07:02:10 +00:00
bug-ga1.c * posix/bug-ga1.c: Include <string.h> for memset prototype. 2004-02-21 18:40:55 +00:00
bug-ga2.c Update. 2004-02-23 19:54:06 +00:00
bug-getopt1.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt2.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt3.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt4.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-getopt5.c Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
bug-glob1.c Update. 2004-10-01 15:44:06 +00:00
bug-glob2.c Test of globfree after failed glob call. 2004-10-27 18:18:56 +00:00
bug-glob3.c Add test for last glob bug. 2010-03-24 12:10:51 -07:00
bug-regex1.c Include <wchar.h> for fwide. 2001-02-07 07:25:37 +00:00
bug-regex2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-regex3.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-regex4.c 2003-04-07 Jakub Jelinek <jakub@redhat.com> 2003-04-08 01:23:29 +00:00
bug-regex5.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
bug-regex6.c Update. 2002-07-27 08:28:46 +00:00
bug-regex7.c Update. 2002-07-27 08:28:46 +00:00
bug-regex8.c Update. 2002-07-27 08:28:46 +00:00
bug-regex9.c Update. 2002-08-12 19:50:26 +00:00
bug-regex10.c Update. 2002-08-26 23:00:40 +00:00
bug-regex11.c Update. 2003-12-30 20:01:17 +00:00
bug-regex12.c Update. 2003-10-02 22:41:11 +00:00
bug-regex13.c Update. 2003-12-22 06:52:35 +00:00
bug-regex14.c * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. 2002-10-24 00:22:27 +00:00
bug-regex15.c 2002-12-13 Roland McGrath <roland@redhat.com> 2002-12-13 21:32:03 +00:00
bug-regex16.c Update. 2003-01-16 19:20:36 +00:00
bug-regex17.c [BZ 9697] 2009-01-08 00:42:51 +00:00
bug-regex18.c Update. 2003-11-29 06:13:09 +00:00
bug-regex19.c [BZ #693] 2005-01-26 19:56:03 +00:00
bug-regex20.c Update. 2003-11-26 03:24:15 +00:00
bug-regex21.c Update. 2003-11-19 19:37:31 +00:00
bug-regex22.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
bug-regex23.c Update. 2004-02-11 22:49:57 +00:00
bug-regex24.c Update. 2004-11-15 22:00:25 +00:00
bug-regex25.c * posix/regex_internal.c (re_string_skip_chars): If no character has 2006-06-04 04:59:36 +00:00
bug-regex26.c [BZ #3155] 2006-09-07 13:50:31 +00:00
bug-regex27.c [BZ #3957] 2007-02-05 15:23:55 +00:00
bug-regex28.c [BZ #3957] 2007-02-05 15:23:55 +00:00
bug-regex29.c Add missing stdio.h include. 2009-11-14 19:11:44 -08:00
bug-regex30.c Whitespace fixes. 2009-11-17 16:24:26 -08:00
bug-regex31.c More regex memory leak fixes and tests. 2010-10-11 22:46:44 -04:00
bug-regex31.input One more regex memory leak fixed. 2010-10-12 09:00:33 -04:00
bug-regex32.c Fix unnecessary overallocation due to incomplete character 2011-05-28 17:14:30 -04:00
confstr.c Add support for XPG7 testing. 2010-01-09 10:56:41 -08:00
cpio.h 2004-08-09 Roland McGrath <roland@frob.com> 2004-08-10 05:10:38 +00:00
Depend New file, libio needs localedata for tests. 2000-07-29 07:57:34 +00:00
environ.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
execl.c * configure.in: Remove gnu_ld definition and everything using it. 2005-11-06 02:06:06 +00:00
execle.c Update. 2005-01-20 20:10:02 +00:00
execlp.c Update. 2005-01-20 20:10:02 +00:00
execv.c * configure.in: Remove gnu_ld definition and everything using it. 2005-11-06 02:06:06 +00:00
execve.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
execvp.c Implement execvpe. 2009-06-02 07:03:02 -07:00
execvpe.c Implement execvpe. 2009-06-02 07:03:02 -07:00
fexecve.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fnmatch_loop.c Fix some warning nits. 2011-02-04 10:53:51 -08:00
fnmatch.c Check size of pattern in wide character representation in fnmatch. 2011-03-18 05:29:20 -04:00
fnmatch.h Update. 2004-09-14 04:41:35 +00:00
fork.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fpathconf.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
gai_strerror.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
gai.conf Document problem with NATs in getaddrinfo. 2010-04-03 17:56:51 -07:00
get_child_max.c [BZ #1535] 2006-01-08 09:39:29 +00:00
getaddrinfo.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getconf.c Update copyright year. 2011-01-17 15:08:10 -05:00
getegid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
geteuid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getgroups.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getlogin_r.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getlogin.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getopt1.c * include/features.h: If no feature selection given and we select 2009-02-26 01:22:06 +00:00
getopt_init.c Update. 2001-08-11 19:43:52 +00:00
getopt_int.h * include/features.h: If no feature selection given and we select 2009-02-26 01:22:06 +00:00
getopt.c Provide more helpful error message in getopt 2011-05-15 13:35:09 -04:00
getopt.h Fix a couple of __REDIRECT () __THROW occurrences 2010-06-14 08:18:26 -07:00
getpgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getpgrp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getpid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getppid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getresgid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
getresuid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
getsid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getuid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
glob64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
glob.c Remove unused variable 2011-05-28 14:43:43 -04:00
glob.h Fix glob.h for XPG7. 2010-01-10 06:37:41 -08:00
globtest.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
globtest.sh FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
group_member.c Correct checking loop in group_member. 2010-06-19 11:38:04 -07:00
init-posix.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
Makefile Fix unnecessary overallocation due to incomplete character 2011-05-28 17:14:30 -04:00
nanosleep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pathconf.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pause.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
PCRE.tests Update. 2004-11-25 22:32:18 +00:00
posix_madvise.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pread64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pread.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ptestcases.h Update. 2003-11-26 03:24:15 +00:00
PTESTS Update. 2003-11-26 03:24:15 +00:00
PTESTS2C.sed Update. 2003-11-13 01:04:26 +00:00
pwrite64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pwrite.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
re_comp.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
regcomp.c One more regex memory leak fixed. 2010-10-12 09:00:33 -04:00
regex_internal.c Fix unnecessary overallocation due to incomplete character 2011-05-28 17:14:30 -04:00
regex_internal.h * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc. 2009-01-08 00:23:09 +00:00
regex.c * posix/regex_internal.h (re_sub_match_top_t): Remove unused member 2005-09-06 21:15:13 +00:00
regex.h Update documentation in regex.h 2011-05-20 09:14:03 -04:00
regexbug1.c Update. 1999-08-30 19:23:15 +00:00
regexec.c Fix unnecessary overallocation due to incomplete character 2011-05-28 17:14:30 -04:00
runptests.c Update. 2003-11-26 03:24:15 +00:00
runtests.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
sched_cpualloc.c * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. 2007-07-29 22:24:44 +00:00
sched_cpucount.c * posix/sched_cpucount.c (__sched_cpucount): Allow using special 2007-06-08 19:23:19 +00:00
sched_cpufree.c * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. 2007-07-29 22:24:44 +00:00
sched_getaffinity.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_getp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_gets.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_primax.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_primin.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_rr_gi.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_setaffinity.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_setp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_sets.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sched_yield.c * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation 2006-02-23 22:34:40 +00:00
sched.h Fix up sched.h for XPG7. 2010-01-12 11:48:45 -08:00
setgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setlogin.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setpgid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setpgrp.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setresgid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
setresuid.c [BZ #2329] 2006-02-21 02:30:10 +00:00
setsid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
setuid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sleep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
spawn_faction_addclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_adddup2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_addopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_destroy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_faction_init.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn_int.h Update. 2000-04-15 16:51:16 +00:00
spawn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawn.h Fix typos in comments. 2011-04-01 10:39:30 -04:00
spawnattr_destroy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getdefault.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getflags.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getpgroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getschedparam.c [BZ #6919] 2008-10-31 18:51:08 +00:00
spawnattr_getschedpolicy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_getsigmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_init.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setdefault.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setflags.c Update. 2004-09-12 18:05:37 +00:00
spawnattr_setpgroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setschedparam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setschedpolicy.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawnattr_setsigmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
spawni.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
spawnp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sysconf.c [BZ #7095] 2009-02-07 08:19:29 +00:00
tar.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-vfork.c (noop): Add __attribute_noinline__. 2003-01-09 19:45:08 +00:00
testcases.h Update. 2000-01-18 10:53:15 +00:00
testfnm.c FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
TESTS Update. 2000-01-18 10:53:15 +00:00
TESTS2C.sed 1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com> 1997-05-03 00:33:54 +00:00
times.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
transbug.c * posix/tst-execle1.c (do_test): Add a const. 2005-12-27 22:50:12 +00:00
tst-boost.c Update. 2003-12-04 08:04:57 +00:00
tst-chmod.c Update. 2004-04-21 18:58:31 +00:00
tst-cpucount.c When iterating over CPU bitmask, don't try more than CPU_SETSIZE. 2009-06-15 21:12:57 -07:00
tst-cpuset.c * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. 2007-07-29 22:24:44 +00:00
tst-dir.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
tst-exec.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-execl1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execl2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execle1.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execle2.c 2005-12-27 Roland McGrath <roland@redhat.com> 2005-12-27 22:49:45 +00:00
tst-execlp1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execlp2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execv2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execve2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execvp1.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execvp2.c Test for exec function. 2005-02-23 02:42:55 +00:00
tst-execvp3.c * posix/execvp.c (execvp): Use file name including path when 2005-04-14 21:20:51 +00:00
tst-execvp4.c [BZ #1125] 2005-07-24 21:41:49 +00:00
tst-fnmatch2.c FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
tst-fnmatch.c Fix memory leak in fnmatch 2010-11-12 03:51:28 -05:00
tst-fnmatch.input FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
tst-fork.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-getaddrinfo2.c Update. 2004-10-06 18:09:57 +00:00
tst-getaddrinfo3.c * posix/Makefile (tests): Add tst-getaddrinfo3. 2006-04-30 20:19:09 +00:00
tst-getaddrinfo.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-getconf.sh * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass 2002-09-01 12:39:40 +00:00
tst-getlogin.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-getopt_long1.c Provide more helpful error message in getopt 2011-05-15 13:35:09 -04:00
tst-gnuglob.c Fix glob with empty pattern 2010-03-24 11:58:05 -07:00
tst-mmap.c [BZ #959] 2005-06-03 20:37:25 +00:00
tst-nanosleep.c * posix/tst-nanosleep.c: Include <time.h> for nanosleep 2003-06-25 11:14:37 +00:00
tst-nice.c 2003-03-20 Roland McGrath <roland@redhat.com> 2003-03-20 11:40:36 +00:00
tst-pcre.c Update. 2003-12-04 08:04:57 +00:00
tst-preadwrite64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-preadwrite.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-regex2.c Update. 2004-12-10 00:41:30 +00:00
tst-regex.c * posix/tst-regex.c (main): Rename to... 2008-06-25 23:26:07 +00:00
tst-regexloc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-rfc3484-2.c Avoid warnings in test cases. 2009-07-23 12:53:50 -07:00
tst-rfc3484-3.c Avoid warnings in test cases. 2009-07-23 12:53:50 -07:00
tst-rfc3484.c Avoid warnings in test cases. 2009-07-23 12:53:50 -07:00
tst-rxspencer.c [BZ #693] 2005-01-26 19:56:03 +00:00
tst-spawn.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-sysconf.c * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, 2009-03-10 13:45:44 +00:00
tst-truncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-truncate.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-vfork1.c Update. 2004-03-10 05:25:48 +00:00
tst-vfork2.c Update. 2004-03-10 05:25:48 +00:00
tst-vfork3.c * posix/execvp.c: Include alloca.h. 2007-01-03 23:02:17 +00:00
tst-waitid.c Update. 2004-11-10 15:48:06 +00:00
tstgetopt.c Update. 2000-09-06 18:07:07 +00:00
uname.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
unistd.h Add syncfs syscall. 2011-04-01 13:08:28 -04:00
Versions Implement execvpe. 2009-06-02 07:03:02 -07:00
vfork.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait3.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait4.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wait.h update from main archive 961126 1996-11-27 06:13:15 +00:00
waitid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
waitpid.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
wordexp-test.c Update. 2003-09-18 02:54:32 +00:00
wordexp-tst.sh Update. 2000-10-21 00:02:39 +00:00
wordexp.c * posix/wordexp.c (exec_comm): Use pipe2 if possible to create 2008-07-27 19:08:19 +00:00
wordexp.h (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00