Go to file
Florian Weimer e98bd0c54d iconvdata: Fix invalid pointer arithmetic in ANSI_X3.110 module
The expression inptr + 1 can technically be invalid: if inptr == inend,
inptr may point one element past the end of an array.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2025-11-28 13:20:39 +01:00
ChangeLog.old Create ChangeLog.old/ChangeLog.31 2025-07-28 20:22:55 +02:00
advisories advisories: s/CVE-id/CVE-Id/ (the lowercase i breaks our tooling) 2025-07-26 15:21:27 +02:00
argp argp: Move attribute_hidden to argp-fmtstream.h 2025-10-29 12:54:00 -03:00
assert Define C23 header version macros 2025-11-27 19:32:49 +00:00
benchtests benchtests: Fix bench-build after cd748a63ab 2025-11-21 13:22:34 -03:00
bits Add once_flag, ONCE_FLAG_INIT and call_once to stdlib.h for C23 2025-10-01 15:15:15 +00:00
catgets catgets: Remove catgets/config.h 2025-10-21 09:24:19 -03:00
conform linknamespace: Use 'ALLOWLIST' instead of 'WHITELIST' in code. 2025-05-21 12:47:49 -04:00
csu elf: Build dl-tls.o with early startup symbol redirections 2025-02-05 09:52:16 +01:00
ctype Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234] 2025-08-05 13:06:12 +02:00
debug Enable --enable-fortify-source with clang 2025-11-21 13:13:11 -03:00
dirent Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dlfcn elf: Add SFrame support to _dl_find_object function 2025-07-14 10:56:35 +01:00
elf htl: Fix conditions for thread list variables 2025-11-22 21:55:02 +01:00
gmon gmon: Only used -fno-tree-loop-distribute-patterns if compiler supports it 2025-10-21 09:27:01 -03:00
gnulib Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hesiod Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
htl htl: move c11 symbols into libc. 2025-11-22 03:28:48 +01:00
hurd htl: move pthread_create to into libc 2025-11-17 00:38:37 +00:00
iconv Add missing $(rpath-link) to /elf/ld.so --library-path 2025-11-08 17:44:48 +01:00
iconvdata iconvdata: Fix invalid pointer arithmetic in ANSI_X3.110 module 2025-11-28 13:20:39 +01:00
include Define C23 header version macros 2025-11-27 19:32:49 +00:00
inet Enable --enable-fortify-source with clang 2025-11-21 13:13:11 -03:00
intl Annotate swtich fall-through 2025-10-29 12:54:01 -03:00
io Use __fstat64_time64 in __fts64_children_time64 (bug 33653) 2025-11-20 14:33:59 +01:00
libio Define C23 header version macros 2025-11-27 19:32:49 +00:00
locale Add missing $(rpath-link) to /elf/ld.so --library-path 2025-11-08 17:44:48 +01:00
localedata tests-mbwc/tst_funcs.h: Fix typo 2025-10-01 14:49:10 -03:00
login login: fix ut_line comparison logic 2025-08-29 14:49:19 -04:00
mach hurd: Drop remnants of cthreads 2025-11-12 01:11:11 +01:00
malloc malloc: Add threaded variants of single-threaded malloc tests 2025-11-24 16:47:52 +01:00
manual Implement C23 const-preserving standard library macros 2025-11-20 19:31:04 +00:00
math Define C23 header version macros 2025-11-27 19:32:49 +00:00
mathvec Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
misc Enable --enable-fortify-source with clang 2025-11-21 13:13:11 -03:00
nis Cleanup some recently added whitespace. 2025-10-30 18:56:58 -07:00
nptl nptl: Replace FALLTHROUGH with [[fallthrough]] 2025-11-20 14:23:43 -03:00
nptl_db Suppress -Wmaybe-uninitialized only for gcc 2025-10-21 09:24:05 -03:00
nscd atomic: Remove atomic_forced_read 2025-10-08 12:59:30 +00:00
nss nss: Remove effectively unused __nss_*_database variables 2025-11-18 20:18:06 +01:00
po po: Update swedish translations 2025-07-25 19:31:37 +02:00
posix posix: execvpe: fix UMR with file > NAME_MAX [BZ #33627] 2025-11-17 11:57:07 -08:00
resolv Cleanup some recently added whitespace. 2025-10-30 18:56:58 -07:00
resource resource/Makefile: Split and sort tests 2025-06-19 13:33:34 +02:00
rt aio_suspend64: Fix clock discrepancy [BZ #32795] 2025-03-25 01:05:11 +01:00
scripts scripts: Fix minor lint warnings in build-many-glibcs.py 2025-11-25 13:56:56 +00:00
setjmp Define C23 header version macros 2025-11-27 19:32:49 +00:00
signal Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket socket/tst-cmsghdr: Fix alignment of cmsghdr 2025-01-12 15:57:26 +01:00
soft-fp stdlib: Remove longlong.h 2025-11-26 10:10:06 -03:00
stdio-common stdlib: Remove longlong.h 2025-11-26 10:10:06 -03:00
stdlib Define C23 header version macros 2025-11-27 19:32:49 +00:00
string Define C23 header version macros 2025-11-27 19:32:49 +00:00
sunrpc nss: Clean up function pointer/void * unions 2025-11-18 08:35:44 +01:00
support support: Add support for running tests in a multi-threaded environment 2025-11-24 16:47:52 +01:00
sysdeps math: New generic fmaf implementation 2025-11-27 14:52:25 -03:00
sysvipc Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios termios: SPEED_MAX and BAUD_MAX constants 2025-07-20 17:17:41 +02:00
time Define C23 header version macros 2025-11-27 19:32:49 +00:00
timezone Implement C23 const-preserving standard library macros 2025-11-20 19:31:04 +00:00
wcsmbs Define C23 header version macros 2025-11-27 19:32:49 +00:00
wctype Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
.b4-config
.clang-format Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
.gitattributes
.gitignore
CONTRIBUTED-BY
COPYING.LESSERv2 Update COPYING, COPYING.LIB from gnulib, using gnulib file names 2025-11-17 11:15:13 +01:00
COPYING.LIB Update COPYING, COPYING.LIB from gnulib, using gnulib file names 2025-11-17 11:15:13 +01:00
COPYINGv2 Update COPYING, COPYING.LIB from gnulib, using gnulib file names 2025-11-17 11:15:13 +01:00
COPYINGv3 Add COPYINGv3 with the GPL version 3 text 2025-11-17 11:15:13 +01:00
INSTALL INSTALL: Update newest tested binutils version 2025-07-28 16:49:01 +02:00
LICENSES LICENSES: update CORE-MATH copyright 2025-01-24 23:21:49 +01:00
MAINTAINERS
Makeconfig Build glibc with -ftrapping-math 2025-10-20 11:33:54 -03:00
Makefile Makefile: Add ld.so.conf with libgcc dir to testroot.pristine 2025-07-09 15:46:14 +02:00
Makefile.help Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Makefile.in Remove test-have-mamx-tile from Makefile.in 2025-08-23 15:58:00 -07:00
Makerules Check if linker supports -Wl,--undefined-version 2025-11-20 14:33:13 -03:00
NEWS Add new math improvemenst to NEWS 2025-11-25 14:51:56 -03:00
README
Rules Build programs in $(others-noinstall) like tests if libgcc_s is available 2025-11-04 14:48:18 +08:00
SECURITY.md
SHARED-FILES math: Sync atanh from CORE-MATH 2025-11-26 14:10:07 -03:00
abi-tags
aclocal.m4 aarch64: make GCS configure checks aarch64-only 2025-11-26 13:50:15 +00:00
config.h.in Revert __HAVE_64B_ATOMICS configure check 2025-11-14 14:05:20 -03:00
config.make.in Disable SFrame support by default 2025-07-24 15:51:58 -03:00
configure aarch64: make GCS configure checks aarch64-only 2025-11-26 13:50:15 +00:00
configure.ac aarch64: make GCS configure checks aarch64-only 2025-11-26 13:50:15 +00:00
extra-lib.mk
gen-locales.mk
libc-abis
libof-iterator.mk
o-iterator.mk
shlib-versions
test-skeleton.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
version.h Bump version to 2.42.9000 2025-07-28 20:31:31 +02:00

README

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu and x86_64-gnu.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	loongarch64-*-linux-gnu Hardware floating point, LE only.
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	or1k-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at https://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.