Commit Graph

1099 Commits

Author SHA1 Message Date
Joseph Myers 73c1ce4fdb Make powerpc-nofpu floating-point state thread-local (bug 15483). 2013-11-19 13:39:56 +00:00
Chris Leonard ad383240ed [BZ #16144] Duplicated abday value for tk_TM. 2013-11-18 16:18:23 -05:00
Ondřej Bílka b75891075b Fix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253
We first expanded origin and then split string by colons. This
misbehaves when $ORIGIN contain colon so we first split string, then
expand $ORIGIN.
2013-11-18 19:59:46 +01:00
Ondřej Bílka 728dab0e13 Do not let scanf("%4p") accept "(nil)". Fixes bug 16055 2013-11-18 12:42:23 +01:00
Chris Leonard dd8082389e Correct wae_CH to UTF-8 encoding. 2013-11-17 18:24:27 -05:00
Joseph Myers 6629449166 Fix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167). 2013-11-16 12:45:11 +00:00
Arun Kumar Pyasi b46d046e7b New locale for the_NP. 2013-11-15 15:57:56 -05:00
Chris Leonard 47fc68de31 [BZ #16143] pap_* locales have duplicated LC_NUMERIC section. 2013-11-14 18:30:47 -05:00
Chris Leonard 8f18faed2e [BZ #16103] LC_MEASUREMENT review and standardization 2013-11-14 17:19:35 -05:00
H.J. Lu 17c1d9f03e Set arch_minimum_kernel to 3.4.0 for x32
x32 ABI support was added in Linux kernel 3.4.0.
2013-11-13 05:43:58 -08:00
Joseph Myers 9310c284ae Fix strtod rounding of half the least subnormal (bug 16151). 2013-11-13 12:59:54 +00:00
Adhemerval Zanella 7a2ad8cf39 PowerPC: Fix __fe_mask_env export
This patch does not export __fe_mask_env anymore, only providing a
compatibility symbol. It fixes BZ#14143.
2013-11-13 06:45:19 -06:00
David S. Miller 7ddace62b0 Fix sparc 64-bit GMP ifunc resolution in static builds.
[BZ #16150]
	* sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
	symbol in the non-vis3 case in static builds.
	* sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
	* sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2013-11-12 12:48:01 -08:00
Jan Kratochvil e47e1d8f1c Put Bug # to the NEWS file for the previous vDSO l_name fix. 2013-11-11 20:03:01 +01:00
Andreas Schwab 8ec3f656d6 Fix off-by-one in nscd getservbyport call 2013-11-11 12:26:32 +01:00
Ondřej Bílka e4368156e6 Make getent services compliant with RFC 6335 section 5.1 Fixes bug 15374
The RFC 6335 allows services that start with digit (like 3com-tsmux).
These were parsed as port number which this patch fixes.
2013-11-07 12:51:44 +01:00
David S. Miller 8d6bb57c44 Fix build on pre-v9 32-bit Sparc.
We cannot use fnegd in this code, as fnegd was added in v9.
Only fnegs exists in v8 and earlier.

	[BZ #15985]
	* sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
	on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2013-11-06 13:23:36 -08:00
Ondřej Bílka 8b35e35d0f Fix malloc_info statistic. Fixes bug 16112 2013-11-01 15:39:26 +01:00
Bruno Haible 8c5c2600af Fix description of random according to POSIX. Fixes bug 7003 2013-11-01 12:23:51 +01:00
Ondřej Bílka 5d30d85329 Restrict shm_open and shm_unlink to SHMDIR. Fixes bugs 14752 and 15763. 2013-10-31 13:59:01 +01:00
Andreas Schwab 82bab04b78 Refill NEWS 2013-10-31 12:51:44 +01:00
Andreas Schwab a4966c6104 Fix parsing of 0e+0 as float 2013-10-31 12:51:03 +01:00
Marc-Antoine Perennou 28d708c44b Accept make versions 4.0 and greater 2013-10-31 12:38:36 +10:00
Ondřej Bílka c6e4925d40 Use atomic operations to track memory. Fixes bug 11087 2013-10-30 16:25:21 +01:00
Ondřej Bílka bbea82f7fe Remove code from div that is by C99 obsolete. Fixes bug 15799 2013-10-30 16:08:12 +01:00
Siddhesh Poyarekar 977f4b31b7 Fix reads for sizes larger than INT_MAX in AF_INET lookup
Currently for AF_INET lookups from the hosts file, buffer sizes larger
than INT_MAX silently overflow and may result in access beyond bounds
of a buffer.  This happens when the number of results in an AF_INET
lookup in /etc/hosts are very large.

There are two aspects to the problem.  One problem is that the size
computed from the buffer size is stored into an int, which results in
overflow for large sizes.  Additionally, even if this size was
expanded, the function used to read content into the buffer (fgets)
accepts only int sizes.  As a result, the fix is to have a function
wrap around fgets that calls it multiple times with int sizes if
necessary.
2013-10-30 16:19:40 +05:30
Siddhesh Poyarekar 66925c4779 Add ChangeLog entry and fix NEWS for #16078 2013-10-30 16:19:36 +05:30
Allan McRae 7cb96fc8cd Add missing bug number to NEWS 2013-10-30 20:15:10 +10:00
Chris Leonard 9668fc1b82 New-locale-for-anp_IN 2013-10-29 08:30:22 -04:00
Joseph Myers b125d3e51d Add some more NEWS items. 2013-10-26 00:48:25 +00:00
Ondřej Bílka 151659f637 Fix gethostbyname_r example. Fixes bug 2801. 2013-10-25 19:17:58 +02:00
Ondřej Bílka ddc7e412ab Make strptime %Z consistent between doc and code. Fixes bug 14876 2013-10-25 19:05:24 +02:00
Ondřej Bílka ca42d35ea1 Acknowledge that fnmatch can fail. Fixes bug 14029. 2013-10-25 10:44:24 +02:00
Fabrice Bauzac 52e6d80122 Document that mmap() returns MAP_FAILED on error, as per the POSIX standard. 2013-10-25 13:51:58 +05:30
Siddhesh Poyarekar 7cbcdb3699 Fix stack overflow due to large AF_INET6 requests
Resolves #16072 (CVE-2013-4458).

This patch fixes another stack overflow in getaddrinfo when it is
called with AF_INET6.  The AF_UNSPEC case was fixed as CVE-2013-1914,
but the AF_INET6 case went undetected back then.
2013-10-25 10:22:12 +05:30
Ondřej Bílka d1f23d46da Document rpcgen -5. Fixes bug 15825 2013-10-21 10:02:31 +02:00
Ondřej Bílka a471e96a53 When glob pattern contains a trailing slash match only directories. Fixes bug 10278. 2013-10-20 10:03:19 +02:00
Ondřej Bílka 45c30c61c9 Replace alloca in __tzfile_read by malloc. Fixes bug 15670 2013-10-20 08:26:05 +02:00
Joseph Myers 289528850d Remove duplicate bug numbers from NEWS. 2013-10-18 21:00:20 +00:00
Richard Sandiford 5abe068233 Fix localedef collation handling of <U0000> (bug 15948). 2013-10-18 20:58:31 +00:00
Ondřej Bílka 264aad1e6a Fix inet_network("1 bar"). Fixes bug 15277. 2013-10-17 18:34:29 +02:00
Andreas Schwab b957ced889 Don't use gethostbyaddr to determine canonical name 2013-10-17 16:34:27 +02:00
Joseph Myers e5c2c2d0c0 soft-fp: make extensions quiet signaling NaNs (bug 16041). 2013-10-17 12:36:02 +00:00
Ondřej Bílka 4b1a6d8bc9 Clear initfini list after freeing. Fixes bug 15308. 2013-10-15 09:47:33 +02:00
Ondřej Bílka 17c48a60b8 Fix error_tail overflow in allocation calculation. 2013-10-14 17:15:48 +02:00
Ondřej Bílka cabba9343c Correctly copy resolver address. Fixes bug #13028. 2013-10-14 08:17:09 +02:00
Patrick 'P. J.' McDermott 94bf958a94 ldd: make try_trace more robust and portable
It was noted in 2005 (BZ #832), 2006 (BZ #3266), and 2007 [1] that ldd
fails on shells other than Bash >= 3.0 because of the pipefail option
around try_trace (added on 2004-12-08).  EGLIBC was patched in 2008 [2]
(r6912) to make the pipefail check run only on shells that support it,
but RTLD output would still be lost on other shells with certain SELinux
policies.

This patch rewrites try_trace to work on any POSIX-conformant shell in
such a way as to also work with such SELinux policies.  It also obviates
one difference between glibc and EGLIBC.

URL: https://sourceware.org/ml/libc-alpha/2007-01/msg00041.html
URL: http://www.eglibc.org/archives/patches/msg00526.html

2013-09-11  P. J. McDermott  <pj@pehjota.net>

	[BZ #832]
	* elf/ldd.bash.in (try_trace): More robustly and portably work around
	SELinux terminal write permissions by using a command substitution
	instead of a pipeline and pipefail option.
2013-10-14 01:57:46 -04:00
Yuri Chornoivan 5560275828 Fix typos. 2013-10-12 14:47:50 +02:00
Reuben Thomas 9cd8330240 Fix typo in setlocale.c. Fixes BZ #15764 2013-10-12 14:32:09 +02:00
Joseph Myers b7ea74f074 soft-fp: make __unord* raise "invalid" for signaling NaNs (bug 16036). 2013-10-12 12:23:28 +00:00