gregex: Prevent invalid memory access for unmatched subpatterns
Based on a test by Emmanuel Pacaud.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2881 (closed)
Based on a test by Emmanuel Pacaud.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2881 (closed)