Mercurial > gnulib
view modules/memchr @ 40215:88b18d82fa61
crypto/des: Fix undefined behaviour.
* lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid
shift operations on 'int'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 09 Mar 2019 22:21:25 +0100 |
parents | 030dcb1a7a38 |
children |
line wrap: on
line source
Description: memchr() function: scan memory for a byte. Files: lib/memchr.c lib/memchr.valgrind m4/memchr.m4 m4/mmap-anon.m4 Depends-on: extensions string memchr-obsolete configure.ac: gl_FUNC_MEMCHR if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then AC_LIBOBJ([memchr]) gl_PREREQ_MEMCHR fi gl_STRING_MODULE_INDICATOR([memchr]) Makefile.am: Include: <string.h> License: LGPLv2+ Maintainer: Jim Meyering, glibc