Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix build on hurd | Samuel Thibault | 2013-11-10 | 1 | -0/+1 |
| | | | | * string/strcoll_l.c: Include <sys/param.h> for MIN/MAX macros. | ||||
* | string/tester memrchr test | Alan Modra | 2013-10-04 | 1 | -3/+3 |
| | | | | | | | | | http://sourceware.org/ml/libc-alpha/2013-08/msg00095.html I found this useful at one stage when I was seeing a huge number of memrchr failures all of test number 10. * string/tester.c (test_memrchr): Increment reported test cycle. | ||||
* | string/test-memcpy error reporting | Alan Modra | 2013-10-04 | 1 | -2/+2 |
| | | | | | | | | | | http://sourceware.org/ml/libc-alpha/2013-08/msg00094.html Using plain %s here runs the risk of segfaulting when displaying the string. src and dst aren't zero terminated strings. * string/test-memcpy.c (do_one_test): When reporting errors, print string address and don't overrun end of string. | ||||
* | Check for integer overflow in cache size computation in strcoll | Siddhesh Poyarekar | 2013-09-23 | 3 | -1/+72 |
| | | | | | | | | | | | strcoll is implemented using a cache for indices and weights of collation sequences in the strings so that subsequent passes do not have to search through collation data again. For very large string inputs, the cache size computation could overflow. In such a case, use the fallback function that does not cache indices and weights of collation sequences. Fixes CVE-2012-4412. | ||||
* | Fall back to non-cached sequence traversal and comparison on malloc fail | Siddhesh Poyarekar | 2013-09-23 | 1 | -31/+234 |
| | | | | | | | | strcoll currently falls back to alloca if malloc fails, resulting in a possible stack overflow. This patch implements sequence traversal and comparison without caching indices and rules. Fixes CVE-2012-4424. | ||||
* | Make __ffs hidden | Andreas Schwab | 2013-09-20 | 1 | -0/+1 |
| | |||||
* | Add memrchr testcase | Adhemerval Zanella | 2013-09-05 | 3 | -1/+190 |
| | |||||
* | Fix missing declaration of LC_CTYPE nonascii-case element | Andreas Schwab | 2013-08-27 | 3 | -8/+48 |
| | |||||
* | Simplify strcoll implementation | Siddhesh Poyarekar | 2013-08-20 | 1 | -406/+295 |
| | | | | | Break up strcoll into simpler functions so that the logic is easier to follow and maintain. | ||||
* | Add a test for BZ #15674 | H.J. Lu | 2013-06-26 | 1 | -0/+24 |
| | |||||
* | Fix loop construction to functions calls | Adhemerval Zanella | 2013-06-20 | 4 | -0/+4 |
| | | | | | | Check wheter the compiler has the option -fno-tree-loop-distribute-patterns to inhibit loop transformation to library calls and uses it on memset and memmove default implementation to avoid recursive calls. | ||||
* | Remove performance-related bits from string tests | Siddhesh Poyarekar | 2013-06-11 | 25 | -620/+0 |
| | |||||
* | Avoid use of "register" as optimization hint. | Joseph Myers | 2013-06-07 | 5 | -22/+22 |
| | |||||
* | Add copyright header to test-strchrnul.c | Siddhesh Poyarekar | 2013-06-04 | 1 | -0/+19 |
| | |||||
* | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | 2013-05-16 | 1 | -1/+1 |
| | |||||
* | Remove duplicate __strcmp_cg | Ondrej Bilka | 2013-05-01 | 1 | -24/+1 |
| | | | | | The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies these two cases into one. | ||||
* | Sort Versions files | Andreas Jaeger | 2013-02-17 | 1 | -2/+2 |
| | |||||
* | Remove bounded-pointers build system support. | Joseph Myers | 2013-02-15 | 1 | -4/+0 |
| | |||||
* | Remove miscellaneous bounded-pointers relics in C code. | Joseph Myers | 2013-02-15 | 1 | -1/+1 |
| | |||||
* | Remove bp-sym.h and BP_SYM uses from C code. | Joseph Myers | 2013-02-14 | 1 | -6/+1 |
| | |||||
* | Remove __ptrvalue, __bounded and __unbounded. | Joseph Myers | 2013-02-13 | 1 | -1/+1 |
| | |||||
* | Call memcpy in generic mempcpy | Ondrej Bilka | 2013-02-13 | 1 | -36/+2 |
| | |||||
* | Fix typo, improve comment, remove superfluous #undefs, add missing #undef. | Tom de Vries | 2013-02-12 | 1 | -5/+7 |
| | |||||
* | Remove dead CFLAGS lines from string/Makefile | Tom de Vries | 2013-02-11 | 1 | -2/+0 |
| | |||||
* | Remove dead variable in generic strcpy. | Roland McGrath | 2013-02-08 | 1 | -3/+0 |
| | |||||
* | Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code. | Joseph Myers | 2013-02-08 | 1 | -5/+2 |
| | |||||
* | Remove lots of inline keywords. | Roland McGrath | 2013-02-07 | 1 | -3/+0 |
| | |||||
* | Remove __GLIBC_HAVE_LONG_LONG. | Joseph Myers | 2013-01-11 | 2 | -15/+9 |
| | |||||
* | Add --enable-hardcoded-path-in-tests configure option | H.J. Lu | 2013-01-11 | 1 | -1/+1 |
| | |||||
* | Remove __GNUC__ conditions for "long long" from string.h and wchar.h. | Joseph Myers | 2013-01-10 | 1 | -2/+0 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 149 | -158/+149 |
| | |||||
* | BZ#14317: Optimze __xpg_strerror_r | 2012-12-27 Bruno Haible | 2012-12-27 | 1 | -9/+15 |
| | | | | | | [BZ #14317] * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen only if needed. | ||||
* | Use memcpy in memmove when possible | Maxim Kuvyrkov | 2012-11-06 | 1 | -1/+5 |
| | |||||
* | Define and use $(run-built-tests). | Joseph Myers | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Add string IFUNC tests | H.J. Lu | 2012-10-19 | 60 | -23/+709 |
| | |||||
* | Add a testcase for BZ #14716 | H.J. Lu | 2012-10-19 | 1 | -3/+32 |
| | |||||
* | Fix BZ #14716: memmem crash | Maxim Kuvyrkov | 2012-10-15 | 1 | -2/+2 |
| | |||||
* | Avoid PLT references from __get_clockfreq on powerpc | Andreas Schwab | 2012-10-12 | 1 | -1/+2 |
| | |||||
* | Framework to test IFUNC implementations on target | H.J. Lu | 2012-10-11 | 1 | -1/+56 |
| | |||||
* | Use IFUNC memmove/memset in x86-64 bcopy/bzero | H.J. Lu | 2012-10-11 | 5 | -15/+124 |
| | | | | Also add separate tests for bcopy and bzero. | ||||
* | Fix BZ #14602: strstr and strcasestr return wrong result. | Maxim Kuvyrkov | 2012-10-08 | 3 | -18/+27 |
| | |||||
* | Add a strstr test for page boundary | H.J. Lu | 2012-10-06 | 1 | -1/+6 |
| | |||||
* | Add a testase for BZ #14602 | H.J. Lu | 2012-10-05 | 1 | -0/+12 |
| | |||||
* | Test strcasestr/strchr/strstr under all implementations | H.J. Lu | 2012-10-05 | 7 | -89/+77 |
| | |||||
* | Micro-optimize critical path of strstr, strcase and memmem. | Maxim Kuvyrkov | 2012-08-21 | 3 | -1/+12 |
| | |||||
* | Use pointers for traversing arrays in strstr, strcasestr and memmem. | Maxim Kuvyrkov | 2012-08-21 | 2 | -18/+49 |
| | |||||
* | Detect EOL on-the-fly in strstr, strcasestr and memmem. | Maxim Kuvyrkov | 2012-08-21 | 5 | -13/+91 |
| | |||||
* | Optimize first-character loop of strstr, strcasestr and memmem. | Maxim Kuvyrkov | 2012-08-21 | 1 | -1/+14 |
| | |||||
* | Fix segmentation fault in strncasecmp for i686 | Liubov Dmitrieva | 2012-08-15 | 1 | -4/+14 |
| | | | | | | | | | | | | 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> [BZ #14195] * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix segmentation fault for a case of two empty input strings. * string/test-strncasecmp.c (check1): Renamed to... (bz12205): ...this. (bz14195): Add new testcase for two empty input strings and N > 0. (test_main): Call new testcase, adapt for renamed function. | ||||
* | Remove local redefinition of MAX macro. | Roland McGrath | 2012-08-15 | 1 | -5/+2 |
| |