Mercurial > gnulib
view modules/pipe2-safer @ 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 | 0759131e0d13 |
children |
line wrap: on
line source
Description: pipe2_safer() function: create a pipe, with specific opening flags, without clobbering std{in,out,err}. Files: lib/pipe2-safer.c Depends-on: fd-safer-flag pipe2 unistd-safer configure.ac: gl_MODULE_INDICATOR([pipe2-safer]) Makefile.am: lib_SOURCES += pipe2-safer.c Include: "unistd-safer.h" License: GPL Maintainer: Eric Blake