When trying to print a line having more than 8000 characters, Scintilla crashed (reproductible with Scite 3.23, printing in a pdf, under Windows XP).
In Editor.cxx, line 3816 : LineLayout ll(8000); causes this problem.
The method Editor::LayoutLine should handle the case when length of line is greater than length of LineLayout, but in Editor.cxx line 2154, in case viewEOL is not enabled, numCharsInLine can be greater than 8000.
Why limiting to 8000 instead of allocating real length of line ?
In Editor.cxx, line 3816 can be changed to :
Log in to post a comment.