kinglcc / juniversalchardet

Automatically exported from code.google.com/p/juniversalchardet
0 stars 0 forks source link

Array bound violation in ISO2022JPSMModel #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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