]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix unnecessary overallocation due to incomplete character
authorUlrich Drepper <drepper@gmail.com>
Sat, 28 May 2011 21:14:30 +0000 (17:14 -0400)
committerPetr Baudis <pasky@ucw.cz>
Sat, 3 Sep 2011 18:27:05 +0000 (20:27 +0200)
commit07c65bd7b3f8aaed2e6e567d4b1a932893e8838a
treecaaf99e51a1745f975fc0816c0e434fbc5a56d41
parent36edecaa99bfe160463da7df4b5810726be3eb53
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.

(cherry picked from commit 8887a920a4b81a500f54893250085e0d1a52cf9a)
ChangeLog
posix/Makefile
posix/bug-regex32.c [new file with mode: 0644]
posix/regex_internal.c
posix/regexec.c