Mercurial > gnulib
view modules/integer_length @ 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 | 1f14c6dd175d |
children |
line wrap: on
line source
Description: Finds the most significant bit in an 'unsigned int'. Files: lib/integer_length.h lib/integer_length.c lib/float+.h m4/longlong.m4 m4/exponentd.m4 Depends-on: float configure.ac: AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) Makefile.am: lib_SOURCES += integer_length.c Include: "integer_length.h" License: LGPLv2+ Maintainer: all