Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ArrayIndexOutOfBounc in IntCharSet [sf#67] #69

Closed
lsf37 opened this issue Feb 15, 2015 · 3 comments
Closed

[Bug] ArrayIndexOutOfBounc in IntCharSet [sf#67] #69

lsf37 opened this issue Feb 15, 2015 · 3 comments
Labels
bug

Comments

@lsf37
Copy link
Member

@lsf37 lsf37 commented Feb 15, 2015

*Reported by anonymous on 2004-09-27 12:13 UTC
LIne 179:

if (i >= size) return;
Interval x = (Interval) intervalls.elementAt(i+1);

If the size is 1 and i is 0, Java continues into the
next line and trys to get the Element at position 1.
That creates a ArrayIndexOutOfBounce!

@lsf37 lsf37 changed the title ArrayIndexOutOfBounc in IntCharSet [Bug] ArrayIndexOutOfBounc in IntCharSet [sf#67] Feb 15, 2015
@lsf37 lsf37 added this to the jflex bug milestone Feb 15, 2015
@lsf37 lsf37 closed this Feb 15, 2015
@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Commented by lsf37 on 2004-10-24 07:51 UTC
Logged In: YES
user_id=93534

Thanks. I've committed a fix to CVS. It will be released with the next version.

Gerwin

@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Updated by lsf37 on 2004-10-24 07:51 UTC

  • status: open --> open-fixed
@lsf37
Copy link
Member Author

@lsf37 lsf37 commented Feb 15, 2015

Updated by lsf37 on 2004-11-07 06:04 UTC

  • status: open-fixed --> closed
@lsf37 lsf37 added the bug label Feb 17, 2015
@lsf37 lsf37 modified the milestone: jflex bug Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.