summaryrefslogtreecommitdiff
path: root/lib/regex.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-03-15 21:23:43 +0100
committerAndy Wingo <wingo@pobox.com>2021-03-15 21:23:43 +0100
commitd87b57a00bb8f755fdca46d10c9d411d48efa1e9 (patch)
tree81c0c690ae5c4a766839abaa1c50b2e768e47778 /lib/regex.h
parent5a1a1eee5061f6b7deda7d187123561f8f7e5aae (diff)
downloadguile-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/regex.h')
0 files changed, 0 insertions, 0 deletions