[Geany-devel] [PATCH] Scintilla: Infinite loop in Markdown lexer

Nick Treleaven nick.treleaven at xxxxx
Mon Aug 16 12:34:28 UTC 2010


On Sat, 14 Aug 2010 19:25:43 +0200
Colomban Wendling <lists.ban at herbesfolles.org> wrote:

> As reported in Debian's bug #590284 [1] the Scintilla Markdown lexer has
> a bug that causes an infinite loop on certain circumstances.
> 
> In facts, it happens when HasPrevLineContent() is called on the second
> line and the first line is empty, because of a negative index error.
> Joined a patch that fixes the issue (and also fixes highlighting if the
> first title is one-character only).
> Joined is a patch that fixes the issue [2]

Thanks, applied to trunk. I think we should include this in the 0.19.1
release as well.

Regards,
Nick



More information about the Devel mailing list