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-01-07 09:59:58 -08:00
2008-10-22 10:05:28 -07:00
2009-01-07 10:00:11 -08:00
2009-01-07 10:00:11 -08:00
2008-07-21 15:16:10 -07:00
2008-07-21 15:16:10 -07:00
2008-10-17 14:40:53 -07:00