[Bug 58366] New: input buffer overflow, can't enlarge buffer because scanner uses REJECT

Roberto Raggi raggi at di.unipi.it
Mon May 12 11:49:04 UTC 2003


On Monday 12 May 2003 05:34, wch1002 at hotmail.com wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=58366
>            Summary: input buffer overflow, can't enlarge buffer because
>                     scanner uses REJECT
>            Product: kdevelop
>            Version: unspecified
>           Platform: RedHat RPMs
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: crash
>           Priority: NOR
>          Component: general
>         AssignedTo: kdevelop-devel at kdevelop.org
>         ReportedBy: wch1002 at hotmail.com
>
>
> Version:           kdevelop 2.1.3 (using KDE KDE 3.1)
> Installed from:    RedHat RPMs
> OS:          Linux
>
> This happens when I try to load the project file. It loads almost all files
> but stops at 88% (that's when it's trying to load .ui files). KDevelop then
> crashes leaving this message in terminal ("input buffer overflow can't
> enlarge buffer because scanner uses REJECT").
>
> I note this bug has been report in 2001 on kde 2.x. But it seems it also
> exists in redhat 9.0 which use Kde3.1-10  and kdevelop 2.1.3

it is a bug(or a feature) of flex! it happens when you have a very large 
token, check your sources, maybe it contains something wrong(like an 
unterminated comment or a too long string literal)

anyway, the new lexer, the one in the upcoming kdevelop 3 doesn't use flex! 
so, kdevelop 3 is not affected by this bug.

ciao robe




More information about the KDevelop-devel mailing list