Carter Kozak created HTTPCLIENT-2112:
----------------------------------------
Summary: 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
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]