From 3f8cc204fdd077da66ffc8e9595158b469e2b8e5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Sep 2011 21:26:05 -0400 Subject: Fix boundary conditions in scanf Allocate large buffers with realloc. When returning error make sure the stream is unlocked. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 01d8905..7cc7ab0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-09-09 Ulrich Drepper + [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. -- cgit v1.1