Dan Albert
4e58609587
Fix mbsrtowcs(3)'s handling of len parameter.
...
The len parameter is a _maximum_ length. The previous code was treating
it as an exact length, causing the following typical call to fail:
mbsrtowcs(out, &in, sizeof(out), state); // sizeof(out) > strlen(in)
Change-Id: I48e474fd54ea5f122bc168a4d74bfe08704f28cc
(cherry picked from commit 6b55ba54eff4657cffe053b71e1c9cce2944a8a9)
2014-07-29 14:20:31 -07:00
..
2014-07-10 12:47:13 +01:00
2014-05-14 18:18:55 -07:00
2014-05-14 18:18:55 -07:00
2013-10-09 16:00:17 -07:00
2013-10-15 16:49:28 -07:00
2013-12-18 19:17:14 -08:00
2014-04-30 10:06:09 -07:00
2014-04-30 10:06:09 -07:00
2013-10-15 16:49:28 -07:00
2013-12-18 19:17:14 -08:00
2013-12-18 19:17:14 -08:00
2013-10-15 16:49:28 -07:00
2013-10-15 16:49:28 -07:00
2014-02-18 12:11:38 -08:00
2013-10-09 16:00:17 -07:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2013-10-15 16:49:28 -07:00
2013-10-15 16:49:28 -07:00
2014-04-07 16:41:53 -07:00
2013-12-18 19:17:14 -08:00
2013-12-18 19:17:14 -08:00
2013-12-18 18:17:52 -08:00
2013-10-15 16:49:28 -07:00
2013-12-18 19:17:14 -08:00
2014-02-24 18:02:05 -08:00
2013-10-15 16:49:28 -07:00
2013-12-18 19:17:14 -08:00
2013-12-18 19:17:14 -08:00
2014-07-14 13:29:34 -07:00
2014-05-19 15:19:16 -07:00
2014-05-19 15:19:16 -07:00
2013-10-22 16:31:01 -07:00
2014-06-06 16:49:39 -07:00
2014-03-12 16:12:57 -07:00
2012-10-01 17:35:49 -07:00
2014-07-29 09:41:44 -07:00
2013-10-24 15:48:32 -07:00
2014-05-29 10:51:22 -07:00
2014-06-04 08:39:24 -07:00
2014-06-04 08:39:24 -07:00
2013-10-22 16:31:01 -07:00
2013-10-22 16:31:01 -07:00
2014-04-22 17:41:00 -07:00
2014-03-11 13:37:11 -07:00
2014-06-23 17:49:45 -07:00
2014-05-18 15:18:36 -07:00
2012-07-31 16:18:22 +12:00
2014-07-15 16:49:30 -07:00
2012-10-01 17:35:49 -07:00
2014-07-18 15:23:32 -07:00
2013-01-29 09:56:31 -08:00
2014-05-14 10:02:03 -07:00
2013-01-29 09:56:31 -08:00
2014-06-06 15:24:20 -07:00
2014-07-16 15:15:53 -07:00
2014-07-17 15:15:44 -07:00
2014-07-10 12:34:23 -07:00
2013-10-23 09:48:29 -07:00
2013-10-23 09:48:29 -07:00
2013-10-24 15:48:32 -07:00
2013-10-24 15:48:32 -07:00
2013-02-07 12:06:44 -08:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2013-04-03 11:10:37 -07:00
2013-04-03 11:10:37 -07:00
2013-10-24 16:29:40 -07:00
2014-04-29 16:28:56 -07:00
2014-06-20 09:06:57 -07:00
2014-04-23 19:03:06 +01:00
2014-07-01 17:20:06 -07:00
2013-08-08 17:52:06 -07:00
2014-02-10 18:22:24 -08:00
2012-10-09 17:17:24 -07:00
2014-07-21 19:17:15 -07:00
2012-10-01 17:35:49 -07:00
2014-03-10 17:17:01 -07:00
2014-06-20 09:06:57 -07:00
2012-10-01 17:35:49 -07:00
2014-06-02 10:32:55 -07:00
2009-03-03 19:28:35 -08:00
2014-07-01 11:13:25 -07:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2013-10-23 09:48:29 -07:00
2009-03-03 19:28:35 -08:00
2012-10-01 17:35:49 -07:00
2014-07-10 12:34:23 -07:00
2014-05-20 14:47:33 -07:00
2013-10-22 16:31:01 -07:00
2014-02-18 15:39:24 -08:00
2014-02-24 20:22:11 +00:00
2014-07-16 15:15:53 -07:00
2014-06-04 16:29:37 -07:00
2014-07-14 13:29:34 -07:00
2014-07-14 13:29:34 -07:00
2014-07-29 14:20:15 -07:00
2013-10-09 16:00:17 -07:00
2013-10-22 16:31:01 -07:00
2014-05-14 10:02:03 -07:00
2014-02-18 15:39:24 -08:00
2014-07-10 12:34:23 -07:00
2014-07-09 21:27:15 -07:00
2014-07-09 21:27:15 -07:00
2014-07-10 12:34:23 -07:00
2014-07-10 12:34:23 -07:00
2014-06-04 08:39:24 -07:00
2014-06-04 08:39:24 -07:00
2014-06-04 08:39:24 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2014-02-25 15:12:29 -08:00
2012-10-01 17:35:49 -07:00
2014-06-03 17:22:07 -07:00
2012-10-01 17:35:49 -07:00
2012-10-01 17:35:49 -07:00
2013-10-22 16:31:01 -07:00
2013-10-22 12:03:19 -07:00
2013-10-22 16:31:01 -07:00
2014-03-03 11:54:21 -08:00
2014-05-13 10:44:07 -07:00
2014-06-16 13:10:20 -07:00
2014-05-19 15:19:16 -07:00
2014-05-19 15:19:16 -07:00
2014-06-02 18:48:53 -07:00
2014-02-18 15:39:24 -08:00
2013-11-06 17:21:09 -08:00
2013-10-24 15:48:32 -07:00
2013-10-23 09:48:29 -07:00
2013-10-24 15:48:32 -07:00
2014-02-03 16:20:46 -08:00
2014-04-30 10:06:09 -07:00
2014-05-14 10:02:03 -07:00
2014-05-14 10:02:03 -07:00
2014-03-11 10:44:36 +00:00
2014-05-22 11:00:21 -07:00
2014-07-10 10:25:26 -07:00
2014-03-07 17:59:05 -08:00
2013-02-19 12:21:41 -08:00
2014-05-30 15:56:25 -07:00
2013-08-26 14:04:16 -07:00
2013-10-09 16:00:17 -07:00
2014-06-20 09:06:57 -07:00
2014-05-21 18:30:00 -07:00
2013-11-18 19:48:11 -08:00
2014-05-14 10:02:03 -07:00
2013-10-09 16:00:17 -07:00
2014-07-29 09:41:44 -07:00
2013-10-31 12:31:16 -07:00
2014-05-23 00:26:24 +01:00
2013-02-19 12:21:41 -08:00
2014-03-04 10:55:39 -08:00
2013-10-31 12:31:16 -07:00
2013-10-15 11:23:57 -07:00
2014-07-16 16:59:31 -07:00
2014-07-29 10:48:34 -07:00
2010-02-05 16:05:52 -02:00
2012-12-10 11:20:57 -08:00
2014-07-14 14:06:11 -07:00
2013-10-22 16:31:01 -07:00
2014-02-18 12:04:54 -08:00
2014-07-02 16:46:34 -07:00
2013-10-22 16:31:01 -07:00
2013-10-22 16:31:01 -07:00
2014-05-09 19:12:08 -07:00
2010-12-06 13:42:54 +01:00
2014-04-30 14:30:15 +01:00
2013-10-15 16:49:49 -07:00
2014-01-02 12:05:50 -08:00
2014-07-07 09:46:54 -07:00
2014-03-10 17:17:01 -07:00
2013-10-09 17:35:36 -07:00
2013-10-09 17:35:36 -07:00
2014-03-10 17:17:01 -07:00
2014-01-30 20:39:53 -08:00
2013-10-17 11:36:55 -07:00
2012-10-01 17:35:49 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2012-10-01 17:35:49 -07:00
2013-10-17 11:36:55 -07:00
2014-06-05 08:21:17 -07:00
2014-05-16 15:47:29 -07:00
2013-10-16 14:07:01 -07:00
2013-10-15 11:23:57 -07:00
2012-10-01 17:35:49 -07:00
2013-10-15 18:15:19 -07:00
2013-10-15 18:15:19 -07:00
2014-05-19 15:19:16 -07:00
2014-02-18 15:39:24 -08:00
2014-02-18 15:39:24 -08:00
2014-02-24 18:02:05 -08:00
2014-07-11 16:21:31 +00:00
2014-07-10 12:34:23 -07:00
2013-10-09 16:00:17 -07:00
2014-07-11 16:21:31 +00:00
2012-10-01 17:35:49 -07:00
2014-02-24 18:02:05 -08:00
2013-10-09 16:00:17 -07:00
2014-07-11 16:21:31 +00:00
2014-04-16 16:09:41 -07:00
2014-07-11 16:21:31 +00:00
2014-07-11 16:21:31 +00:00
2014-07-11 16:21:31 +00:00
2014-07-29 10:48:34 -07:00
2013-10-22 16:31:01 -07:00
2014-02-12 17:09:25 -08:00
2014-02-12 19:04:27 -08:00
2014-05-20 14:47:33 -07:00
2014-07-28 09:33:00 -07:00
2014-05-21 18:30:00 -07:00
2014-06-18 14:23:46 -07:00
2014-07-24 15:14:06 -07:00
2014-03-11 19:13:25 -07:00
2014-06-24 14:13:48 -07:00
2010-12-06 12:25:52 +01:00
2014-07-07 09:46:11 -07:00
2014-05-13 10:14:22 -07:00
2014-03-10 17:17:01 -07:00
2013-10-22 16:31:01 -07:00
2013-10-28 13:21:06 -07:00
2014-07-16 15:15:53 -07:00
2014-06-10 21:38:52 -07:00
2014-06-13 16:04:41 -07:00
2014-07-29 14:20:31 -07:00
2014-07-11 16:21:31 +00:00