aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-09 21:26:05 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-09 21:26:05 -0400
commit3f8cc204fdd077da66ffc8e9595158b469e2b8e5 (patch)
tree0e882e37b9a69ef19c40c06d57bbedf1c5792ea7 /ChangeLog
parente4899e7b9adbf74145f6530f6f57517f773e330c (diff)
downloadglibc-3f8cc204fdd077da66ffc8e9595158b469e2b8e5.zip
glibc-3f8cc204fdd077da66ffc8e9595158b469e2b8e5.tar.gz
glibc-3f8cc204fdd077da66ffc8e9595158b469e2b8e5.tar.bz2
Fix boundary conditions in scanf
Allocate large buffers with realloc. When returning error make sure the stream is unlocked.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 01d8905..7cc7ab0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-09-09 Ulrich Drepper <drepper@gmail.com>
+ [BZ #13138]
+ * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
+ realloc.
+ (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
+ Free memory block if necessary.
+
[BZ #12847]
* libio/genops.c (INTDEF): For string streams the _lock pointer can
be NULL. Don't lock in this case.