view modules/memcmp @ 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 0b402f8f9b23
children
line wrap: on
line source

Description:
memcmp() function: compare memory areas.

Status:
obsolete

Notice:
This module is obsolete.

Files:
lib/memcmp.c
m4/memcmp.m4

Depends-on:
stdint          [test $gl_func_memcmp = no]

configure.ac:
gl_FUNC_MEMCMP
if test $gl_func_memcmp = no; then
  AC_LIBOBJ([memcmp])
  gl_PREREQ_MEMCMP
fi

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc