kristerw
a505fc7826
Fix two bugs:
...
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
as if the buffer has a size of (size_t)-1.
2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
memory if _bf._base == NULL, and this buffer is never freed
(PR 16483).
2003-01-05 11:05:47 +00:00
..
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-07-10 14:37:12 +00:00
2002-07-21 19:04:03 +00:00
2002-03-12 22:56:16 +00:00
2002-10-01 17:22:00 +00:00
2002-11-30 03:04:44 +00:00
2002-11-30 03:04:44 +00:00
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-09-14 04:26:23 +00:00
2002-02-07 07:00:09 +00:00
2002-05-24 22:17:20 +00:00
2002-11-30 03:04:44 +00:00
2002-09-14 04:26:23 +00:00
2002-09-14 04:26:23 +00:00
2002-10-01 17:22:00 +00:00
2002-02-07 07:00:09 +00:00
2003-01-03 21:41:28 +00:00
2002-05-26 14:43:59 +00:00
2002-10-01 17:22:00 +00:00
2002-10-01 17:22:00 +00:00
2002-03-14 21:21:00 +00:00
2002-03-14 21:21:00 +00:00
2002-08-10 09:42:23 +00:00
2002-10-01 17:22:00 +00:00
2002-05-26 14:43:59 +00:00
2002-02-07 07:00:09 +00:00
2003-01-05 11:05:47 +00:00
2002-05-26 14:43:59 +00:00
2002-05-26 14:43:59 +00:00
2002-10-01 17:22:00 +00:00
2002-08-10 16:28:51 +00:00
2002-08-10 16:28:51 +00:00
2002-08-20 16:10:01 +00:00
2002-08-10 16:28:51 +00:00
2002-02-07 07:00:09 +00:00
2002-02-07 07:00:09 +00:00
2002-05-26 14:43:59 +00:00
2002-05-26 14:43:59 +00:00
2002-05-24 22:17:20 +00:00
2003-01-05 11:05:47 +00:00