diff options
author | Keith Packard via Newlib <newlib@sourceware.org> | 2020-07-10 02:58:47 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-07-10 11:51:43 +0300 |
commit | 24f3c6195395b8836f51fbfaeca35062c60bb056 (patch) | |
tree | 4224efdf2b3d04006c6699a2bfec3df1c1c4f711 /newlib/testsuite | |
parent | 2c33d31fa81d97addab774a2b460a3779990c132 (diff) |
libc/iconv: find_alias was mis-computing remaining alias table length
This caused the strnstr to walk off the end of the alias array and
fetch invalid data. Instead of attempting to update 'len', just
re-compute it based on the table end pointer that is already known.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'newlib/testsuite')
0 files changed, 0 insertions, 0 deletions