tim-burke-systemware opened a new pull request, #1073: URL: https://github.com/apache/tomcat/pull/1073
The byte-shift loops copied forwards while the source and destination regions overlapped, so once the copy distance was reached the source bytes had already been overwritten and the data repeated with a period equal to the number of returned bytes. This corrupted uploads over HTTP/2 + asyncIO + TLS (e.g. large Safari uploads). Copy the bytes backwards so the source is read before it is overwritten. Add regression tests covering the overlapping case, which the existing tests did not exercise. Suspect this is also a problem in 10.0.x and 11.0.x Assisted-by: Copilot <[email protected]> -- 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]
