summaryrefslogtreecommitdiff
path: root/tests/pcre-invalid-utf8-infloop
Commit message (Collapse)AuthorAgeFilesLines
* maint: run "make update-copyright"Paul Eggert2021-01-011-1/+1
|
* maint: update all copyright year number rangesJim Meyering2020-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest with copyright year adjusted. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise. * doc/grep.in.1: Use "-" in copyright year ranges, not \en.
* maint: update all copyright dates via "make update-copyright"Jim Meyering2019-01-011-1/+1
| | | | * gnulib: Also update submodule for its copyright updates.
* maint: update gnulib and copyright dates for 2018Jim Meyering2018-01-061-1/+1
| | | | | | * gnulib: Update to latest. * all files: Run "make update-copyright". * bootstrap: Update from gnulib.
* maint: update gnulib and copyright dates for 2017Jim Meyering2017-01-011-1/+1
| | | | | * gnulib: Update to latest. * all files: Run "make update-copyright".
* tests: standardize on 10-second timeouts to avoid rare false failureJim Meyering2016-08-061-1/+1
| | | | | | | | | | | | | | In a parallel test run, it is not unusual to exceed a timeout of 1-3 seconds. Increase several from 3 or fewer to 10 seconds. * tests/skip-device: Increase timeout from 2 to 10 seconds. * tests/grep-dev-null-out: Likewise, but s/1/10/. * tests/pcre-invalid-utf8-input: Likewise, but s/3/10/. * tests/dfa-match: Likewise. * tests/pcre-invalid-utf8-infloop: Likewise. * tests/pcre-infloop: Likewise. * tests/max-count-overread: Likewise. * tests/invalid-multibyte-infloop: Likewise. Prompted by http://bugs.gnu.org/24159.
* maint: update copyright year, bootstrap, init.shJim Meyering2016-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest. * tests/init.sh: Update from gnulib. * bootstrap: Likewise.
* grep -oP: don't infloop when processing invalid UTF8 preceding a matchJim Meyering2015-12-181-0/+26
* src/pcresearch.c (Pexecute): When advancing SUBJECT past an encoding error, don't blindly set P to that new value, since we will soon compute SEARCH_OFFSET = P - SUBJECT, and mistakenly making that difference too small would allow us to match some previously-processed text, resulting in an infinite loop. * NEWS (Bug fixes): Mention it. * THANKS.in: Add Christian's name and email address. * tests/pcre-invalid-utf8-infloop: New file. * tests/Makefile.am (TESTS): Add it. Reported by Christian Boltz in http://debbugs.gnu.org/22181 Introduced by commit, v2.21-37-g14f8e48.