cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petr Havlena (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-7025) Find boundary from InputStream
Date Fri, 26 Aug 2016 11:25:21 GMT

     [ https://issues.apache.org/jira/browse/CXF-7025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Petr Havlena updated CXF-7025:
------------------------------
    Component/s: Core

> 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
>
> in method 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.4#6332)

Mime
View raw message