arturobernalg commented on PR #1107: URL: https://github.com/apache/tomcat/pull/1107#issuecomment-6629403649
Fixed the overflow: when `length == -1` (unknown), `isValid()` now requires `end < Long.MAX_VALUE`, preserving the invariant that `end + 1` cannot overflow in downstream callers. Added a regression test. -- 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]
