diff options
| author | René Scharfe <l.s.r@web.de> | 2022-04-08 18:21:52 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-04-11 09:42:09 -0700 |
| commit | c36c27e75cb367e16392cc8fc4fd3f311126ab59 (patch) | |
| tree | c255c0fab8ee1e9ce0b1b34ab7f4245467bfaa53 /git.c | |
| parent | Git 2.36-rc1 (diff) | |
| download | git-c36c27e75cb367e16392cc8fc4fd3f311126ab59.tar.gz git-c36c27e75cb367e16392cc8fc4fd3f311126ab59.zip | |
t7812: test PCRE2 whitespace bug
Check if git grep works around the PCRE2 big fixed by their e0c6029
(Fix inifinite loop when a single byte newline is searched in JIT.,
2020-05-29), which affects version 10.35 and earlier.
Searching for leading whitespace also triggers the endless loop.
Set a one-second alarm to abort in case we do get hit by the bug, to
avoid having to wait forever for the test result.
Reported-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions
