diff options
| author | Alan Stern <[email protected]> | 2009-04-27 17:22:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2009-05-09 02:34:56 +0000 |
| commit | 0f43158caddcbb110916212ebe4e39993ae70864 (patch) | |
| tree | 8abb9161fedf231180ffa2828010670d51a25357 /security/selinux/hooks.c | |
| parent | USB: Fix makefile so that CONFIG_WDM and CONFIG_TMC work. (diff) | |
| download | kernel-0f43158caddcbb110916212ebe4e39993ae70864.tar.gz kernel-0f43158caddcbb110916212ebe4e39993ae70864.zip | |
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 <[email protected]>
Acked-by: David Brownell <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
