hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-239) The ChunkEncoder could request for a negative buffer limit causing an IllegalArgumentException
Date Thu, 14 Oct 2010 16:10:33 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921004#action_12921004
] 

Oleg Kalnichevski commented on HTTPCORE-239:
--------------------------------------------

Looks very reasonable. A test case to go  with would be just great.

Oleg

> The ChunkEncoder could request for a negative buffer limit causing an IllegalArgumentException
> ----------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-239
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-239
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.1-beta2
>            Reporter: Asankha C. Perera
>             Fix For: 4.1
>
>         Attachments: httpcore-239.patch
>
>
> An occurrence of this issue causes the following stacktrace:
> java.lang.IllegalArgumentException
> at java.nio.Buffer.limit(Buffer.java:249)
> at org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:99)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message