Alan Stern
0f43158cad
USB: Gadget: fix UTF conversion in the usbstring library
...
This patch (as1234) fixes a bug in the UTF8 -> UTF-16 conversion
routine in the gadget/usbstring library. In a UTF-8 multi-byte
sequence, all bytes after the first should have their high-order
two bits set to 10, not 11.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-05-08 19:34:56 -07:00
..
2009-03-24 16:20:33 -07:00
2009-01-06 10:44:42 -08:00
2008-07-25 10:53:29 -07:00
2009-03-27 16:14:38 +01:00
2008-04-06 17:25:06 -04:00
2009-03-24 16:20:33 -07:00
2009-04-23 14:15:28 -07:00
2009-01-07 09:59:58 -08:00
2009-03-24 16:20:45 -07:00
2008-10-22 10:05:28 -07:00
2009-03-24 16:20:36 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:45 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:33 -07:00
2009-03-24 16:20:45 -07:00
2009-03-24 16:20:33 -07:00
2009-04-23 14:15:28 -07:00
2009-02-09 11:19:47 -08:00
2008-10-17 14:41:08 -07:00
2009-03-24 16:20:30 -07:00
2008-10-17 14:41:05 -07:00
2009-03-24 16:20:45 -07:00
2009-01-07 10:00:11 -08:00
2009-03-26 11:17:39 -07:00
2009-03-24 16:20:33 -07:00
2008-07-25 10:53:29 -07:00
2009-03-26 11:17:39 -07:00
2009-03-24 16:20:29 -07:00
2009-03-24 16:20:33 -07:00
2009-03-30 15:22:01 +02:00
2009-03-24 16:20:30 -07:00
2008-08-07 09:55:48 +01:00
2009-01-07 09:59:53 -08:00
2008-12-22 18:42:51 +09:00
2009-01-07 10:00:11 -08:00
2008-07-21 15:16:10 -07:00
2009-03-24 16:20:33 -07:00
2008-10-17 14:40:52 -07:00
2009-04-23 14:15:29 -07:00
2008-07-25 10:53:29 -07:00
2009-03-24 16:20:33 -07:00
2009-02-19 11:04:46 +00:00
2008-08-07 09:55:48 +01:00
2009-03-24 16:20:45 -07:00
2009-03-24 16:20:27 -07:00
2009-03-21 19:55:34 -07:00
2008-07-21 15:16:10 -07:00
2009-01-07 10:00:02 -08:00
2009-03-24 16:20:33 -07:00
2009-04-17 10:50:23 -07:00
2008-07-21 15:16:15 -07:00
2008-12-17 15:49:09 -08:00
2009-03-24 16:20:33 -07:00
2008-10-17 14:40:53 -07:00
2009-05-08 19:34:56 -07:00
2009-03-24 16:20:45 -07:00