When using the search flags SCFIND_REGEXP|SCFIND_CXX11REGEX, and using more than 10 groups in the searchtext parameter of the SCI_SEARCHINTARGET message, scitilla 5.11 on Windows crashes at line 296 of file RESearch.cxx: 'pat[i].clear();'
The actual bug is present at lines 3202 to 3208 of Document.cxx were a (co < MAXTAG) check is missing before changing the search object members bopat, eopat and pat.
I can work around this bug by using the (?: ) construct instead of ( ). But anyhow scintilla should not crash here!
The file Document.cxx has changed here. The correct line numbers are 3212 to 3218
Committed fix as [fbff1a].
Related
Commit: [fbff1a]
Committed fix as [fbff1a].
Related
Commit: [fbff1a]