matarrese/juniversalchardet

Array bound violation in ISO2022JPSMModel

Closed this issue · 1 comments

Because the length of ISO2022JPSMModel.iso2022jpCharLenTable is smaller
than the class factor, getCharLen() causes ArrayIndexOutOfBoundsException.

Original issue reported on code.google.com by taksc...@gmail.com on 14 May 2007 at 8:35

ISO2022JPSMModel.iso2022jpCharLenTable is enlarged to 10. The C++ code is fixed
accordingly (Thanks to Kazutoshi Satoda).

Original comment by taksc...@gmail.com on 14 May 2007 at 8:42

  • Changed state: Fixed