Mercurial > gnulib
view modules/strtold-tests @ 40213:cc3fed3b7788
unilbrk/u*-possible-linebreaks: Fix undefined behaviour.
Reported by Jeffrey Walton <noloader@gmail.com>.
* lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks): Don't
invoke memset with a zero size.
* lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks):
Likewise.
* lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks):
Adjust accordingly.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 09 Mar 2019 00:27:19 +0100 |
parents | 31ab89a208b9 |
children |
line wrap: on
line source
Files: tests/test-strtold.c tests/test-strtold1.sh tests/test-strtold1.c tests/signature.h tests/minus-zero.h tests/macros.h m4/locale-fr.m4 m4/codeset.m4 Depends-on: float isnanl-nolibm signbit configure.ac: gt_LOCALE_FR gt_LOCALE_FR_UTF8 Makefile.am: TESTS += test-strtold check_PROGRAMS += test-strtold TESTS += test-strtold1.sh TESTS_ENVIRONMENT += \ LOCALE_FR='@LOCALE_FR@' \ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' check_PROGRAMS += test-strtold1