ASF Bugzilla – Attachment 28890 Details for
Bug 53119
java.nio.BufferOverflowException in AjpAprProcessor.output() when AJP client disconnects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2012-06-05_tc6_53119_AjpAprProcessor.patch
2012-06-05_tc6_53119_AjpAprProcessor.patch (text/plain), 774 bytes, created by
Konstantin Kolinko
on 2012-06-05 11:03:49 UTC
(
hide
)
Description:
2012-06-05_tc6_53119_AjpAprProcessor.patch
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2012-06-05 11:03:49 UTC
Size:
774 bytes
patch
obsolete
>Index: java/org/apache/coyote/ajp/AjpAprProcessor.java >=================================================================== >--- java/org/apache/coyote/ajp/AjpAprProcessor.java (revision 1346323) >+++ java/org/apache/coyote/ajp/AjpAprProcessor.java (working copy) >@@ -1258,6 +1258,9 @@ > throws IOException { > if (outputBuffer.position() > 0) { > if ((socket != 0) && Socket.sendbb(socket, 0, outputBuffer.position()) < 0) { >+ // There are no re-tries so clear the buffer to prevent a >+ // possible overflow if the buffer is used again. BZ53119. >+ outputBuffer.clear(); > throw new IOException(sm.getString("ajpprocessor.failedsend")); > } > outputBuffer.clear();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53119
: 28890