diff options
| author | Andrew Scull <[email protected]> | 2022-04-03 10:39:11 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-29 11:11:36 -0400 |
| commit | 62120155b67313509b673e051155075383a8a33a (patch) | |
| tree | be9aa0846e9cc1b37f7bed6e7f897f8a2664e067 /scripts/checkstack.pl | |
| parent | 9c2f5ecd43ee8bad9d52497c154088c6a99e3f9d (diff) | |
usb: sandbox: Check for string end in copy_to_unicode()
When copying the string in copy_to_unicode(), check for the null
terminator in each position, not just at the start, to avoid reading
beyond the end of the string.
Signed-off-by: Andrew Scull <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Marek Vasut <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
