Mercurial > gnulib
view modules/strstr @ 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 | d1397c651af7 |
children |
line wrap: on
line source
Description: strstr() function: efficiently locate first substring in a buffer. Files: Depends-on: strstr-simple configure.ac: gl_FUNC_STRSTR if test $REPLACE_STRSTR = 1; then AC_LIBOBJ([strstr]) fi Makefile.am: Include: <string.h> License: LGPLv2+ Maintainer: all, Eric Blake