diff options
author | Andy Wingo <wingo@pobox.com> | 2021-03-15 21:23:43 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2021-03-15 21:23:43 +0100 |
commit | d87b57a00bb8f755fdca46d10c9d411d48efa1e9 (patch) | |
tree | 81c0c690ae5c4a766839abaa1c50b2e768e47778 /lib/tempname.h | |
parent | 5a1a1eee5061f6b7deda7d187123561f8f7e5aae (diff) | |
download | guile-d87b57a00bb8f755fdca46d10c9d411d48efa1e9.tar.gz |
Fix buffer overread in string-locale-ci=? and related functions
* libguile/i18n.c (u32_locale_casecoll): Take lengths of incoming
strings as parameters rather than assuming "nul" termination.
(compare_u32_strings_ci): Pass string lengths as computed from the
Scheme strings.
* test-suite/tests/i18n.test ("text collation (English)"): Add a test
case.
Thanks a million to Rob Browning for the report.
Diffstat (limited to 'lib/tempname.h')
0 files changed, 0 insertions, 0 deletions