diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-09 21:26:05 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-09 21:26:05 -0400 |
commit | 3f8cc204fdd077da66ffc8e9595158b469e2b8e5 (patch) | |
tree | 0e882e37b9a69ef19c40c06d57bbedf1c5792ea7 /ChangeLog | |
parent | e4899e7b9adbf74145f6530f6f57517f773e330c (diff) | |
download | glibc-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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |