TcpMon failing in 'XML format' with big responses
-------------------------------------------------
Key: AXIS-2496
URL: http://issues.apache.org/jira/browse/AXIS-2496
Project: Apache Axis
Type: Bug
Versions: 1.4
Environment: any
Reporter: Emmanuel Pellereau
Priority: Minor
when handling big xml response (>10ko) with the XML format activated, the
following exception may occur:
java.lang.ArrayIndexOutOfBoundsException: 8192
at org.apache.axis.utils.tcpmon$SocketRR.run(tcpmon.java:751)
it is due to a buffer overflow. When processing a input buffer of 4096 bytes, a
tmpBuffer is allocated 8192 bytes to handle extra caracters (mainly indentation
for xml formating). for large XMLs, this buffer might be too small.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]