4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 19:40:07 +08:00
Michael Haubenwallner 4449971295 cygwin: fix potential buffer overflow in small_sprintf
With "%C" format string, argument may convert in up to MB_LEN_MAX bytes.
Relying on sys_wcstombs to add a trailing zero here requires us to
provide a large enough buffer.

* smallprint.c (__small_vsprintf): Use MB_LEN_MAX+1 bufsize for "%C".
2017-10-10 13:35:16 +02:00
..
2016-11-24 16:09:31 +01:00
2017-03-27 22:03:58 +01:00
2017-08-25 18:00:46 +02:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2017-03-22 11:10:15 +01:00
2017-03-22 11:10:15 +01:00
2016-06-24 23:32:39 +02:00
2015-03-03 12:58:34 +00:00
2016-06-25 00:43:01 +02:00
2016-06-24 23:32:39 +02:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2016-06-23 16:56:41 +02:00
2016-06-23 21:30:15 +02:00
2016-06-24 23:32:39 +02:00
2016-08-19 16:27:07 +02:00
2017-03-27 22:03:58 +01:00
2017-08-19 18:06:49 +02:00
2016-06-23 16:56:41 +02:00
2016-08-18 10:27:28 +02:00
2017-04-24 17:14:03 +02:00
2017-04-24 17:14:03 +02:00
2016-06-24 23:33:01 +02:00