Anonymous | Login | Signup for a new account | 10-08-2024 14:24 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004700 | [Resin] | minor | always | 08-05-11 09:36 | 08-05-11 09:51 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.9 | ||||||
Summary | 0004700: utf8 encoding overflow with surrogate pairs | ||||||||
Description |
(rep by Shinomiya Nobuaki) We got ArrayIndexOutOfBoundsException at com.caucho.vfs.i18n.UTF8Writer.write(). It seems to happen when sending a request which includes surrogate pair characters. java.lang.ArrayIndexOutOfBoundsException: 16384 at com.caucho.vfs.i18n.UTF8Writer.write(UTF8Writer.java:143) at com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByteResponseStream.java:476) at com.caucho.server.connection.ToByteResponseStream.print(ToByteResponseStream.java:415) at com.caucho.server.connection.ResponseWriter.write(ResponseWriter.java:121) at com.caucho.server.connection.ToCharResponseAdapter$ToCharResponseStreamWrapper.writeNext(ToCharResponseAdapter.java:137) at com.caucho.server.connection.ToCharResponseStream.flushCharBuffer(ToCharResponseStream.java:391) at com.caucho.server.connection.ToCharResponseStream.expandCharBuffer(ToCharResponseStream.java:359) at com.caucho.server.connection.ToCharResponseStream.nextCharBuffer(ToCharResponseStream.java:168) at com.caucho.jsp.JspWriterAdapter.write(JspWriterAdapter.java:171) at com.caucho.jsp.AbstractBodyContent.print(AbstractBodyContent.java:216) at com.caucho.el.Expr.toStream(Expr.java:876) at com.caucho.el.Expr.print(Expr.java:425) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |