[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185949#comment-17185949
 ] 

Carter Kozak commented on HTTPCLIENT-2112:
------------------------------------------

[https://github.com/apache/httpcomponents-client/pull/253]

> AbstractMultipartFormat uses ByteBuffer.array without arrayOffset
> -----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2112
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2112
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async), HttpClient (classic)
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The offset of charset.encode results are unlikely to use a nonzero offset (or 
> non-heap) however we should check the offset to be safe.
> I may file an issue on httpcomponents-core to add a 
> {{ByteArrayBuffer.append(ByteBuffer)}} method to avoid this complexity at 
> call sites.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to