diff options
| author | Bernhard Voelker <mail@bernhard-voelker.de> | 2017-09-13 23:37:20 +0200 |
|---|---|---|
| committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2017-09-14 07:50:27 +0200 |
| commit | 97c5045435f15c2bc984cc05bbfdca897bbdd284 (patch) | |
| tree | 973fcb938eb53e5e865d3148ad34cbc4f3601f2c /scripts/git-hooks/commit-msg | |
| parent | maint: post-release administrivia (diff) | |
| download | coreutils-97c5045435f15c2bc984cc05bbfdca897bbdd284.tar.gz coreutils-97c5045435f15c2bc984cc05bbfdca897bbdd284.zip | |
ptx: avoid infloop due to zero-length matches with -S regex
* src/ptx.c (find_occurs_in_text): Die with an appropriate error
diagnostic when the given regular expression returns a match of
length 0.
* tests/misc/ptx.pl (S-infloop): Add a test.
* NEWS (Bug fixes): Mention the fix.
Fixes https://bugs.gnu.org/28417 which was detected using
Symbolic Execution techniques developed in the course of the
SYMBIOSYS research project at COMSYS, RWTH Aachen University.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
