[
https://issues.apache.org/jira/browse/CXF-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-7025.
------------------------------
Resolution: Fixed
Assignee: Daniel Kulp
Fix Version/s: 3.2.0
3.1.11
3.0.13
> Find boundary from InputStream
> ------------------------------
>
> Key: CXF-7025
> URL: https://issues.apache.org/jira/browse/CXF-7025
> Project: CXF
> Issue Type: Bug
> Components: Core, JAX-RS
> Affects Versions: 3.1.4
> Reporter: Petr Havlena
> Assignee: Daniel Kulp
> Fix For: 3.0.13, 3.1.11, 3.2.0
>
>
> in method AttachmentDeserializer.findBoundaryFromInputStream line: "int i =
> in.read(buf)" is invalid, because read returns "some number of bytes from the
> input stream and stores them into the buffer array b" so you should check
> result from read method and repeat reading if neccesary
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)