[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Konqueror DoS
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2001-11-27 16:01:49
[Download RAW message or body]

On Tue, Nov 27, 2001 at 02:45:19PM +0100, Michael Häckel wrote:
> On Tuesday 27 November 2001 12:54, George Staikos wrote:
> >
> >   Why don't these things just get truncated after a reasonable length then?
> > Should we have a cleansing method somewhere in kdelibs for that?
> 
> This problem appears in _every_ QLineEdit.
> At least in the case of KMail truncating would mean limiting the number of 
> people a mail can be sent to and that would be not nice.

Qt3 appears to have a workaround for the problem:

(from qfont_x11.cpp)
// RENDER has problems drawing strings longer than 250 chars (253
// seems to be the length that breaks).  Split the cache every
// 250 characters so we don't run into this. (note: this is with
// XFree86 4.1.0)


Simon

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic