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

Gargi Jaiswal resolved HDDS-17306.
----------------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed

> S3 Gateway fails with NumberFormatException for Range values exceeding 
> Long.MAX_VALUE
> -------------------------------------------------------------------------------------
>
>                 Key: HDDS-17306
>                 URL: https://issues.apache.org/jira/browse/HDDS-17306
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: s3gateway
>            Reporter: Chung-En Lee
>            Assignee: Chung-En Lee
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> RangeHeaderParserUtil#parseRangeHeader calls Long.parseLong on unbounded 
> digit strings, so {{Range: bytes=0-99999999999999999999}} throws 
> NumberFormatException and GetObject and HeadObject return 500. Amazon S3 
> ignores such a Range and returns the whole object with 200; do the same and 
> add unit tests.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to