bneradt opened a new pull request, #12600: URL: https://github.com/apache/trafficserver/pull/12600
When ESI documents exceeded the configured max_doc_size, ATS would crash with an assertion failure in TSVIONBytesSet() due to passing an uninitialized value. The crash occurred because the overall_len variable in transformData() was declared but not initialized, and EsiProcessor::flush() would return FAILURE without setting output parameters when in an ERRORED state. This fix initializes overall_len to 0, ensures flush() sets valid output parameters before returning FAILURE. The connection now closes gracefully when the limit is exceeded. -- 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]
