Ulrich Drepper 107b8a922a [BZ #1996]
2006-08-14  Ulrich Drepper  <drepper@redhat.com>
	[BZ #1996]
	* libio/memstream.c (open_memstream): Allocate initial buffer with
	calloc.
	* libio/wmemstream.c (open_wmemstream): Likewise.
	* libio/strops.c: Pretty printing.
	(_IO_str_overflow): Clear uninitialized part of the new buffer.
	(enlarge_userbuf): New function.
	(_IO_str_seekoff): Call it if seek position is larger than current
	buffer.
	* libio/wstrops.c: Likewise.
	* libio/vasprintf.c: Add comment as to why we do not have to use
	calloc instead of malloc to allocate initial buffer.
	* libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1.
	* libio/bug-memstream1.c: New file.
	* libio/bug-wmemstream1.c: New file.
2006-08-14 22:16:14 +00:00
..
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
1996-09-07 23:56:19 +00:00
2002-08-27 06:41:29 +00:00
2002-07-24 11:18:48 +00:00
2006-08-14 22:16:14 +00:00
2002-08-27 12:10:11 +00:00
2002-08-26 08:08:50 +00:00
2002-08-26 08:08:50 +00:00
2003-09-06 09:56:14 +00:00
2004-11-09 07:05:27 +00:00
2004-12-06 22:33:26 +00:00
2002-04-03 09:26:58 +00:00
2002-04-24 21:09:14 +00:00
2006-08-14 22:16:14 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-07-06 06:36:39 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2006-01-15 17:45:20 +00:00
2006-01-15 17:46:04 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2006-01-15 17:45:20 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2005-09-26 16:56:27 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2005-09-27 00:00:42 +00:00
2005-09-27 00:00:42 +00:00
2005-09-27 00:00:42 +00:00
2005-09-27 00:00:42 +00:00
2002-01-07 09:33:53 +00:00
2005-09-23 16:36:09 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2005-10-14 06:25:55 +00:00
2005-09-27 00:00:42 +00:00
2003-08-29 19:58:49 +00:00
2005-12-30 18:09:21 +00:00
2004-11-27 19:32:49 +00:00
2002-02-26 01:45:59 +00:00
2004-09-14 04:41:35 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2004-12-06 22:48:11 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2006-01-15 17:46:04 +00:00
2001-07-06 04:58:11 +00:00
2005-12-14 15:06:39 +00:00
2006-08-14 22:16:14 +00:00
2006-08-14 22:16:14 +00:00
2004-03-10 09:29:17 +00:00
2004-03-10 09:29:17 +00:00
2004-03-10 09:29:17 +00:00
2004-03-10 09:29:17 +00:00
2004-09-14 04:41:35 +00:00
2004-03-10 09:29:17 +00:00
2004-09-14 04:41:35 +00:00
2004-03-10 09:29:17 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2003-02-05 18:06:28 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2002-02-26 01:45:59 +00:00
2002-02-26 01:45:59 +00:00
2002-03-17 12:09:12 +00:00
2005-07-15 10:32:45 +00:00
2006-08-14 22:16:14 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2000-06-23 06:22:36 +00:00
2001-07-06 04:58:11 +00:00
2002-09-30 07:47:16 +00:00
2001-02-09 17:57:28 +00:00
2000-07-20 08:56:12 +00:00
2000-06-17 19:22:43 +00:00
2001-02-09 17:57:28 +00:00
1999-06-16 22:55:47 +00:00
2002-09-05 10:28:51 +00:00
2002-07-23 00:31:41 +00:00
2001-03-27 00:16:51 +00:00
2002-09-30 07:47:16 +00:00
2006-01-19 01:35:28 +00:00
2001-07-27 18:09:56 +00:00
2002-08-25 08:44:43 +00:00
2001-08-22 18:40:06 +00:00
2002-02-26 18:08:08 +00:00
2001-08-17 04:49:12 +00:00
2000-07-25 21:09:46 +00:00
2006-08-14 22:16:14 +00:00
2007-07-12 18:26:36 +00:00
2006-01-15 17:45:20 +00:00
2006-02-12 21:41:44 +00:00
2006-08-14 22:16:14 +00:00
2006-08-14 22:16:14 +00:00