diff options
| author | Dean Anderson <[email protected]> | 2021-03-17 15:41:09 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 12:50:03 +0100 |
| commit | 55b74ce7d2ce0b0058f3e08cab185a0afacfe39e (patch) | |
| tree | 6320de7f510ea1e721db94df5d135950dfe120f8 /tools/perf/scripts/python | |
| parent | 84770f028fabab4cb66188d583ed12652f30576b (diff) | |
usb: gadget/function/f_fs string table fix for multiple languages
Fixes bug with the handling of more than one language in
the string table in f_fs.c.
str_count was not reset for subsequent language codes.
str_count-- "rolls under" and processes u32 max strings on
the processing of the second language entry.
The existing bug can be reproduced by adding a second language table
to the structure "strings" in tools/usb/ffs-test.c.
Signed-off-by: Dean Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions