Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 37904 invoked from network); 14 Oct 2010 15:42:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 15:42:57 -0000 Received: (qmail 47644 invoked by uid 500); 14 Oct 2010 15:42:57 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 47402 invoked by uid 500); 14 Oct 2010 15:42:56 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 47394 invoked by uid 99); 14 Oct 2010 15:42:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 15:42:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 15:42:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9EFgXK0010674 for ; Thu, 14 Oct 2010 15:42:33 GMT Message-ID: <28458228.143181287070953112.JavaMail.jira@thor> Date: Thu, 14 Oct 2010 11:42:33 -0400 (EDT) From: "Asankha C. Perera (JIRA)" To: dev@hc.apache.org Subject: [jira] Updated: (HTTPCORE-239) The ChunkEncoder could request for a negative buffer limit causing an IllegalArgumentException In-Reply-To: <1713620.142971287069425323.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Asankha C. Perera updated HTTPCORE-239: --------------------------------------- Attachment: httpcore-239.patch Hi Oleg I need to create a quick private patch for this.. Appreciate if you could confirm if this should be adequate to solve the issue thanks asankha > 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