Mercurial > gnulib
view modules/perror-tests @ 40211:5f58d2ac35ea
unistr/u8-cmp: Fix undefined behaviour.
Reported by Jeffrey Walton <noloader@gmail.com>.
* lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 08 Mar 2019 20:38:22 +0100 |
parents | 928411ca75b9 |
children |
line wrap: on
line source
Files: tests/macros.h tests/signature.h tests/test-perror.c tests/test-perror2.c tests/test-perror.sh Depends-on: dup2 ftruncate strerror test-framework-sh configure.ac: Makefile.am: TESTS += test-perror.sh test-perror2 check_PROGRAMS += test-perror test-perror2