view modules/xalloc-oversized @ 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 9a1ba29cc77f
children
line wrap: on
line source

Description:
Check for memory allocation overflow.  Also see xalloc.

Files:
lib/xalloc-oversized.h

Depends-on:
stdint

configure.ac:

Makefile.am:

Include:
"xalloc-oversized.h"

License:
LGPLv2+

Maintainer:
all