Mercurial > gnulib
view modules/relocatable-prog-wrapper @ 40210:44073ad4207f
unictype/numeric: Fix undefined behaviour.
Reported by Jeffrey Walton <noloader@gmail.com>.
* lib/unictype/numeric.c (uc_numeric_value): Avoid undefined behaviour
on shift overflow, caught by "gcc -fsanitize=undefined".
* lib/unictype/bidi_of.c (uc_bidi_class): Add cast, for clarity.
* lib/unictype/categ_of.c (lookup_withtable): Likewise.
* lib/unictype/joininggroup_of.c (uc_joining_group): Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 08 Mar 2019 19:17:37 +0100 |
parents | 5dc81fc87570 |
children |
line wrap: on
line source
Description: Source for the wrapper program that is required for making programs relocatable that depend on shared libraries installed with the same installation prefix. Files: build-aux/install-reloc lib/relocwrapper.c lib/progname.h lib/progname.c lib/progreloc.c lib/areadlink.h lib/areadlink.c lib/careadlinkat.h lib/careadlinkat.c lib/allocator.h lib/allocator.c lib/readlink.c lib/stat.c lib/canonicalize-lgpl.c lib/malloca.h lib/malloca.c lib/lstat.c lib/relocatable.h lib/relocatable.c lib/setenv.c lib/c-ctype.h lib/c-ctype.c m4/malloca.m4 m4/canonicalize.m4 m4/eealloc.m4 m4/environ.m4 m4/longlong.m4 m4/readlink.m4 m4/relocatable-lib.m4 m4/setenv.m4 Depends-on: alloca-opt double-slash-root errno pathmax ssize_t stdbool stdint stdlib unistd environ string verify xalloc-oversized configure.ac: gl_FUNC_READLINK_SEPARATE gl_CANONICALIZE_LGPL_SEPARATE gl_MALLOCA gl_RELOCATABLE_LIBRARY gl_FUNC_SETENV_SEPARATE Makefile.am: Include: License: GPL Maintainer: Ben Pfaff