musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 75cba9c67f fix incorrect overflow check for allocation in fmemopen
when a null buffer pointer is passed to fmemopen, requesting it
allocate its own memory buffer, extremely large size arguments near
SIZE_MAX could overflow and result in underallocation. this results
from omission of the size of the cookie structure in the overflow
check but inclusion of it in the calloc call.

instead of accounting for individual small contributions to the total
allocation size needed, simply reject sizes larger than PTRDIFF_MAX,
which will necessarily fail anyway. then adding arbitrary fixed-size
structures is safe without matching up the expressions in the
comparison and the allocation.
2018-02-11 20:48:14 -05:00
arch aarch64: fix mismatched type of ucontext_t uc_link member 2018-01-31 21:59:20 -05:00
crt add s390x port 2016-11-11 23:06:21 -05:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include add _DIRENT_HAVE_D_* macros to dirent.h 2018-01-12 14:26:59 -05:00
ldso disallow non-absolute rpath $ORIGIN for suid/sgid/AT_SECURE processes 2018-02-07 14:31:42 -05:00
src fix incorrect overflow check for allocation in fmemopen 2018-02-11 20:48:14 -05:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -04:00
configure better configure check for long double support 2018-02-07 15:43:33 -05:00
COPYRIGHT update COPYRIGHT file to clarify that permissions apply for all files 2016-04-28 20:41:45 -04:00
INSTALL add powerpc64 and s390x to list of supported archs in INSTALL file 2017-08-29 20:48:02 -04:00
Makefile remove unused explicit dependency rules for crti/crtn 2017-12-14 23:19:34 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.18 2017-10-31 15:13:58 -04:00
WHATSNEW release 1.1.18 2017-10-31 15:13:58 -04:00

    musl libc

musl, pronounced like the word "mussel", is an MIT-licensed
implementation of the standard C library targetting the Linux syscall
API, suitable for use in a wide range of deployment environments. musl
offers efficient static and dynamic linking support, lightweight code
and low runtime overhead, strong fail-safe guarantees under correct
usage, and correctness in the sense of standards conformance and
safety. musl is built on the principle that these goals are best
achieved through simple code that is easy to understand and maintain.

The 1.1 release series for musl features coverage for all interfaces
defined in ISO C99 and POSIX 2008 base, along with a number of
non-standardized interfaces for compatibility with Linux, BSD, and
glibc functionality.

For basic installation instructions, see the included INSTALL file.
Information on full musl-targeted compiler toolchains, system
bootstrapping, and Linux distributions built on musl can be found on
the project website:

    http://www.musl-libc.org/