sahvx655-wq opened a new pull request, #1012:
URL: https://github.com/apache/tomcat/pull/1012

   `Ranges.parse` and `ContentRange.parse` are documented to return null for 
any value they can't accept, but a numeric field larger than `Long.MAX_VALUE` 
(e.g. `Range: bytes=0-99999999999999999999`) lets a `NumberFormatException` 
escape `readLong`. In `DefaultServlet` that turns the usual 416/400 for a bad 
range into a 500. Catch it where the longs are read and return null, like every 
other malformed range.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to