[cal10n-dev] [JIRA] Created: (CAL-28) StringOutOfBoundsException in LexicalUtil
Stephanie Stroka (JIRA)
noreply-jira at qos.ch
Wed May 18 17:40:51 CEST 2011
StringOutOfBoundsException in LexicalUtil
-----------------------------------------
Key: CAL-28
URL: http://jira.qos.ch/browse/CAL-28
Project: CAL10N
Issue Type: Bug
Environment: cal10n-api-0.7.4
Reporter: Stephanie Stroka
Assignee: Ceki Gulcu
In LexicalUtil:convertSpecialCharacters(StringBuilder inBuf) in line 42 it might happen that last = i. If this is the case, inBuf.subSequence(last+1,i) is executed , which results in a StringOutOfBoundsException.because the first parameter is bigger then the second one.
Please provide a bound check to prevent this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cal10n-dev
mailing list