[PyKDE] bug in QextScintilla + patch

Phil Thompson phil at riverbankcomputing.co.uk
Tue Apr 27 19:50:01 BST 2004


On Tuesday 27 April 2004 12:48 pm, Jiri Barton wrote:
> Helllo,
>
> I just found a bug in QextScintilla::text(int line), qextscintilla.cxx.
> There is a buffer overflow: one should append the zero character to the
> buffer after SCI_GETLINE message. The doc to the scintilla clearly states
> this but the code in the QextScintilla::text(int line)  function does not
> reflect this.
>
> Following is the patch that fixes this. Is there another place I should be
> filing bugs or patches for the QScintilla?

This or the Scintilla mailing list, or send it to me directly, it doesn't 
really matter which.

Many thanks,
Phil




More information about the PyQt mailing list