[JIRA] Created: (CAL-28) StringOutOfBoundsException in LexicalUtil

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
participants (1)
-
Stephanie Stroka (JIRA)