aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-10-31Add Meadow Mari (mhr).Chris Leonard2-0/+5
2013-10-31Restrict shm_open and shm_unlink to SHMDIR. Fixes bugs 14752 and 15763.Ondřej Bílka4-14/+31
2013-10-31Fix BZ referenceAndreas Schwab1-2/+2
2013-10-31Refill NEWSAndreas Schwab1-2/+2
2013-10-31Fix parsing of 0e+0 as floatAndreas Schwab4-2/+46
2013-10-31Accept make versions 4.0 and greaterMarc-Antoine Perennou4-3/+9
2013-10-30malloc: Fix for infinite loop in memalign/posix_memalign.Will Newton5-0/+51
A very large alignment argument passed to mealign/posix_memalign causes _int_memalign to enter an infinite loop. Limit the maximum alignment value to the maximum representable power of two to prevent this from happening. Changelog: 2013-10-30 Will Newton <will.newton@linaro.org> [BZ #16038] * malloc/hooks.c (memalign_check): Limit alignment to the maximum representable power of two. * malloc/malloc.c (__libc_memalign): Likewise. * malloc/tst-memalign.c (do_test): Add test for very large alignment values. * malloc/tst-posix_memalign.c (do_test): Likewise.
2013-10-30Use atomic operations to track memory. Fixes bug 11087Ondřej Bílka3-21/+27
2013-10-30Remove code from div that is by C99 obsolete. Fixes bug 15799Ondřej Bílka5-70/+11
2013-10-30Fix reads for sizes larger than INT_MAX in AF_INET lookupSiddhesh Poyarekar3-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.
2013-10-30Add ChangeLog entry and fix NEWS for #16078Siddhesh Poyarekar2-1/+7
2013-10-30Add missing bug number to NEWSAllan McRae1-8/+8
2013-10-30Fix ChangeLog formatting issueAllan McRae1-2/+2
2013-10-30rename configure.in to configure.acMike Frysinger102-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>
2013-10-29Let tst-swscanf find its localeAndreas Schwab2-0/+5
2013-10-29New-locale-for-anp_INChris Leonard3-3/+209
2013-10-28Benchmark inputs for powSiddhesh Poyarekar2-0/+505
These inputs cover all normal processing paths for pow including all its slow paths.
2013-10-28New inputs for expSiddhesh Poyarekar2-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.
2013-10-28Consolidate conditionals in mp sin/cos functionsSiddhesh Poyarekar2-8/+12
Consolidate conditionals in multiple precision sin and cos functions to prepare the code for addition of probe points.
2013-10-28Fix ChangeLog date.Adhemerval Zanella1-1/+1
2013-10-26Add some more NEWS items.Joseph Myers1-0/+14
2013-10-25PowerPC: strcpy/stpcpy optimization for PPC64/POWER7Adhemerval Zanella5-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.
2013-10-25Fix gethostbyname_r example. Fixes bug 2801.Ondřej Bílka3-11/+18
2013-10-25Changelog for last commit.Ondřej Bílka1-0/+6
2013-10-25Make strptime %Z consistent between doc and code. Fixes bug 14876Ondřej Bílka3-8/+13
2013-10-25Acknowledge that fnmatch can fail. Fixes bug 14029.Ondřej Bílka3-13/+15
2013-10-25Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.Fabrice Bauzac3-3/+10
2013-10-25Fix stack overflow due to large AF_INET6 requestsSiddhesh Poyarekar3-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.
2013-10-25Fix incorrect getaddrinfo assertion triggerAllan McRae2-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.
2013-10-24Adjust language-code fields of LC_ADDRESS.Chris Leonard18-15/+109
2013-10-21Document rpcgen -5. Fixes bug 15825Ondřej Bílka3-5/+13
2013-10-20Print the reason why preloading failed in do_preload()Michael Stahl2-2/+6
2013-10-20When glob pattern contains a trailing slash match only directories. Fixes ↵Ondřej Bílka4-9/+27
bug 10278.
2013-10-20Replace alloca in __tzfile_read by malloc. Fixes bug 15670Ondřej Bílka3-23/+18
2013-10-19Mention FIPS 140-2 compliance and Sun RPC.Carlos O'Donell2-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.
2013-10-18Enhance localedef --list-archive option.Carlos O'Donell6-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
2013-10-18Move entries to correct port ChangeLog files.Joseph Myers3-11/+11
2013-10-18Add e500 port.Joseph Myers32-11/+1227
2013-10-18Remove duplicate bug numbers from NEWS.Joseph Myers1-1/+0
2013-10-18Fix localedef collation handling of <U0000> (bug 15948).Richard Sandiford3-3/+15
2013-10-18Don't include tls.h in test casesSiddhesh Poyarekar24-41/+26
Remove tls.h includes where they are not needed.
2013-10-18Remove assert in malloc statistic. Fixes bug 12486.Ondřej Bílka2-9/+5
2013-10-17Fix inet_network("1 bar"). Fixes bug 15277.Ondřej Bílka4-8/+35
2013-10-17Don't use gethostbyaddr to determine canonical nameAndreas Schwab3-85/+24
2013-10-17Format floating routines.Ondřej Bílka59-2175/+2830
2013-10-17soft-fp: make extensions quiet signaling NaNs (bug 16041).Joseph Myers3-1/+8
2013-10-16soft-fp: fix horizontal whitespace.Joseph Myers88-1783/+1875
2013-10-15soft-fp: remove unused macros.Joseph Myers3-33/+5
2013-10-15Clear initfini list after freeing. Fixes bug 15308.Ondřej Bílka3-6/+12
2013-10-15soft-fp: fix vertical whitespace and indentation.Joseph Myers86-3286/+3865