Florian Weimer
9dd87afbf1
vfscanf: Avoid multiple reads of multi-byte character width
...
This avoids a race condition if the process-global locale is changed
while vfscanf is running. MB_LEN_MAX is always larger than MB_CUR_MAX,
so we might realloc earlier than necessary (but even MB_CUR_MAX could
be larger than the minimum required space).
The existing length was a bit questionable because str + MB_LEN_MAX
might point past the end of the buffer.
2016-09-02 15:59:34 +02:00
..
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2013-06-05 20:44:03 +00:00
2014-12-10 00:41:19 +00:00
2012-05-17 12:59:08 -04:00
2014-12-15 10:09:33 +01:00
2014-12-15 10:09:33 +01:00
2014-12-15 10:09:33 +01:00
2012-05-24 21:30:43 -06:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-04-26 17:40:25 -03:00
2016-01-04 16:05:18 +00:00
2016-04-14 12:21:53 +02:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2013-10-12 14:47:50 +02:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-12-11 13:47:44 -08:00
2014-12-11 13:47:44 -08:00
2016-01-04 16:05:18 +00:00
2014-12-10 00:41:19 +00:00
2015-09-03 20:24:54 +00:00
2015-09-03 20:24:54 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2015-08-06 02:59:04 -04:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2013-06-07 22:24:35 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-11-05 15:24:08 +05:30
2015-08-06 02:59:04 -04:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-04-29 19:25:17 -03:00
2016-04-26 17:40:25 -03:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2012-03-08 03:02:24 -05:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-11-05 15:24:08 +05:30
2014-11-05 15:24:08 +05:30
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-07 04:03:21 -05:00
2015-08-06 02:59:04 -04:00
2016-01-04 16:05:18 +00:00
2014-11-05 15:24:08 +05:30
2016-03-31 12:14:33 -05:00
2014-12-15 11:29:09 -06:00
2016-01-04 16:05:18 +00:00
2014-11-05 15:24:08 +05:30
2016-01-04 16:05:18 +00:00
2014-11-05 15:24:08 +05:30
2016-01-07 04:03:21 -05:00
2016-01-04 16:05:18 +00:00
2016-04-25 14:10:26 +02:00
2014-11-05 15:24:08 +05:30
2014-12-11 13:47:44 -08:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-02-28 11:07:43 -08:00
2016-09-02 15:36:52 +02:00
2016-09-02 15:59:34 +02:00
2016-01-04 16:05:18 +00:00
2015-10-16 20:21:49 +00:00