masaori335 opened a new pull request, #13740: URL: https://github.com/apache/trafficserver/pull/13740
aio_nbytes - res mixed size_t with ssize_t, so the remaining count was unsigned: a transfer that overshot aio_nbytes would wrap into a huge length passed to pread/pwrite. Track progress as size_t and guard with done < aio_nbytes so the subtraction cannot underflow. Coverity CID: 1587281 -- 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]
