Skip to content

Lexer has negative yychar when processing files larger than 2 GiB #536

@vladak

Description

@vladak

The yychar variable that holds file offset is int, therefore limiting the length of files to 2 GiB - 1. We bumped into this in oracle/opengrok#2560

Metadata

Metadata

Assignees

Labels

bugNot working as intendedhelp wantedGood first issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions