Uploaded image for project: 'CAL10N'
  1. CAL10N
  2. CAL-28

StringOutOfBoundsException in LexicalUtil

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • cal10n-api-0.7.4

    Description

      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.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            stexx Stephanie Stroka
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: