view modules/c-stack @ 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 22e5bc9336ee
children
line wrap: on
line source

Description:
Stack overflow handling, causing program exit.

Files:
lib/c-stack.h
lib/c-stack.c
m4/c-stack.m4

Depends-on:
gettext-h
errno
exitfail
ignore-value
unistd
raise
sigaction
libsigsegv
getprogname

configure.ac:
gl_C_STACK

Makefile.am:
lib_SOURCES += c-stack.h c-stack.c

Include:
"c-stack.h"

Link:
$(LTLIBCSTACK) when linking with libtool, $(LIBCSTACK) otherwise
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
GPL

Maintainer:
Paul Eggert