about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix reads for sizes larger than INT_MAX in AF_INET lookupSiddhesh Poyarekar2013-10-303-9/+60
| | | | | | | | | | | | | | | 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.
* Add ChangeLog entry and fix NEWS for #16078Siddhesh Poyarekar2013-10-302-1/+7
|
* Add missing bug number to NEWSAllan McRae2013-10-301-8/+8
|
* Fix ChangeLog formatting issueAllan McRae2013-10-301-2/+2
|
* rename configure.in to configure.acMike Frysinger2013-10-30102-68/+245
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Let tst-swscanf find its localeAndreas Schwab2013-10-292-0/+5
|
* New-locale-for-anp_INChris Leonard2013-10-293-3/+209
|
* Benchmark inputs for powSiddhesh Poyarekar2013-10-282-0/+505
| | | | | These inputs cover all normal processing paths for pow including all its slow paths.
* New inputs for expSiddhesh Poyarekar2013-10-282-0/+583
| | | | | | A more comprehensive set of inputs for exp, including all slow paths. The inputs have been shuffled so that they don't give a false-positive due to a hot cache.
* Consolidate conditionals in mp sin/cos functionsSiddhesh Poyarekar2013-10-282-8/+12
| | | | | Consolidate conditionals in multiple precision sin and cos functions to prepare the code for addition of probe points.
* Fix ChangeLog date.Adhemerval Zanella2013-10-281-1/+1
|
* Add some more NEWS items.Joseph Myers2013-10-261-0/+14
|
* PowerPC: strcpy/stpcpy optimization for PPC64/POWER7Adhemerval Zanella2013-10-255-134/+418
| | | | | | | | | | This patch intends to unify both strcpy and stpcpy implementationsi for PPC64 and PPC64/POWER7. The idead default powerpc64 implementation is to provide both doubleword and word aligned memory access. For PPC64/POWER7 is also provide doubleword and word memory access, remove the branch hints, use the cmpb instruction for compare doubleword/words, and add an optimization for inputs of same alignment.
* Fix gethostbyname_r example. Fixes bug 2801.Ondřej Bílka2013-10-253-11/+18
|
* Changelog for last commit.Ondřej Bílka2013-10-251-0/+6
|
* Make strptime %Z consistent between doc and code. Fixes bug 14876Ondřej Bílka2013-10-253-8/+13
|
* Acknowledge that fnmatch can fail. Fixes bug 14029.Ondřej Bílka2013-10-253-13/+15
|
* Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.Fabrice Bauzac2013-10-253-3/+10
|
* Fix stack overflow due to large AF_INET6 requestsSiddhesh Poyarekar2013-10-253-3/+28
| | | | | | | | 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.
* Fix incorrect getaddrinfo assertion triggerAllan McRae2013-10-252-3/+18
| | | | | | | | | | | | | | | | | | | [BZ #9954] With the following /etc/hosts: 127.0.0.1 www.my-domain.es 127.0.1.1 www.my-domain.es 192.168.0.1 www.my-domain.es Using getaddrinfo() on www.my-domain.es, trigger the following assertion: ../sysdeps/posix/getaddrinfo.c:1473: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a1_native' failed. This is due to two different bugs: - In rfc3484_sort() rule 7, src->results[i].native is assigned even if src->results[i].index is -1, meaning that no interface is associated. - In getaddrinfo() the source IP address used with the lo interface needs a special case, as it can be any IP within 127.X.Y.Z.
* Adjust language-code fields of LC_ADDRESS.Chris Leonard2013-10-2418-15/+109
|
* Document rpcgen -5. Fixes bug 15825Ondřej Bílka2013-10-213-5/+13
|
* Print the reason why preloading failed in do_preload()Michael Stahl2013-10-202-2/+6
|
* When glob pattern contains a trailing slash match only directories. Fixes ↵Ondřej Bílka2013-10-204-9/+27
| | | | bug 10278.
* Replace alloca in __tzfile_read by malloc. Fixes bug 15670Ondřej Bílka2013-10-203-23/+18
|
* Mention FIPS 140-2 compliance and Sun RPC.Carlos O'Donell2013-10-192-1/+14
| | | | | | | | | | | | | | | | | | | | | | The Secure RPC implementation in glibc uses DES encryption during authentication of the user. This use of DES means that anyone using Sun RPC will likely not be compliant with FIPS 140-2 which forbids the use of DES. One solution to the compliance issue is to disable AUTH_DES and AUTH_KERB, both use DES, when in FIPS compliance mode. This is not a good idea because it disables all of the even mildly secure methods of authentication allowing only plain text methods. Instead we leave AUTH_DES and AUTH_KERB enabled in FIPS compliance mode and document the compliance issue in the manual. FIPS allows this, that is to say that if you can't fix it you must document the non-compliance. This commit adds documentation to that effect in the "DES encryption and password handling" section of the manual.
* Enhance localedef --list-archive option.Carlos O'Donell2013-10-186-10/+44
| | | | | | | | | | The localedef --list-archive option claims that it can accept a [file] argument and list the contents of that archive. The support was never implemented. This patch adds that support and allows --list-archive to work as expected. You can now use localedef to list the contents of arbitrary locale archives by using: ./localedef --list-archive file
* Move entries to correct port ChangeLog files.Joseph Myers2013-10-183-11/+11
|
* Add e500 port.Joseph Myers2013-10-1832-11/+1227
|
* Remove duplicate bug numbers from NEWS.Joseph Myers2013-10-181-1/+0
|
* Fix localedef collation handling of <U0000> (bug 15948).Richard Sandiford2013-10-183-3/+15
|
* Don't include tls.h in test casesSiddhesh Poyarekar2013-10-1824-41/+26
| | | | Remove tls.h includes where they are not needed.
* Remove assert in malloc statistic. Fixes bug 12486.Ondřej Bílka2013-10-182-9/+5
|
* Fix inet_network("1 bar"). Fixes bug 15277.Ondřej Bílka2013-10-174-8/+35
|
* Don't use gethostbyaddr to determine canonical nameAndreas Schwab2013-10-173-85/+24
|
* Format floating routines.Ondřej Bílka2013-10-1759-2175/+2830
|
* soft-fp: make extensions quiet signaling NaNs (bug 16041).Joseph Myers2013-10-173-1/+8
|
* soft-fp: fix horizontal whitespace.Joseph Myers2013-10-1688-1783/+1875
|
* soft-fp: remove unused macros.Joseph Myers2013-10-153-33/+5
|
* Clear initfini list after freeing. Fixes bug 15308.Ondřej Bílka2013-10-153-6/+12
|
* soft-fp: fix vertical whitespace and indentation.Joseph Myers2013-10-1586-3286/+3865
|
* Fix error_tail overflow in allocation calculation.Ondřej Bílka2013-10-143-6/+11
|
* Correctly copy resolver address. Fixes bug #13028.Ondřej Bílka2013-10-143-7/+14
|
* ldd: make try_trace more robust and portablePatrick 'P. J.' McDermott2013-10-143-20/+24
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Adjust language-code fields of LC_ADDRESS.Chris Leonard2013-10-1317-27/+105
|
* soft-fp: fix preprocessor indentation.Joseph Myers2013-10-129-278/+290
|
* Fix typos.Yuri Chornoivan2013-10-127-8/+18
|
* Fix typo in setlocale.c. Fixes BZ #15764Reuben Thomas2013-10-123-5/+11
|
* soft-fp: make __unord* raise "invalid" for signaling NaNs (bug 16036).Joseph Myers2013-10-125-1/+22
|
* soft-fp: make ordered comparisons raise "invalid" for quiet NaNs (bug 14910).Joseph Myers2013-10-128-12/+21
|