about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-28 17:14:30 -0400
committerPetr Baudis <pasky@ucw.cz>2011-09-03 20:27:05 +0200
commit07c65bd7b3f8aaed2e6e567d4b1a932893e8838a (patch)
treecaaf99e51a1745f975fc0816c0e434fbc5a56d41 /ChangeLog
parent36edecaa99bfe160463da7df4b5810726be3eb53 (diff)
downloadglibc-07c65bd7b3f8aaed2e6e567d4b1a932893e8838a.tar.gz
glibc-07c65bd7b3f8aaed2e6e567d4b1a932893e8838a.tar.xz
glibc-07c65bd7b3f8aaed2e6e567d4b1a932893e8838a.zip
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)
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index da84df385d..da762ca3a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2011-05-28  Ulrich Drepper  <drepper@gmail.com>
+
+	[BZ #12811]
+	* posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
+	grow the buffers more if it already has to be sufficient.
+	(build_wcs_upper_buffer): Likewise.
+	* posix/regexec.c (check_matching): Likewise.
+	(clean_state_log_if_needed): Likewise.
+	(extend_buffers): Don't enlarge buffers beyond size of the input
+	buffer.
+	Patches mostly by Emil Wojak <emil@wojak.eu>.
+	* posix/bug-regex32.c: New file.
+	* posix/Makefile (tests): Add bug-regex32.
+
 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
 
 	* iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before