bneradt opened a new pull request, #13653: URL: https://github.com/apache/trafficserver/pull/13653
Cachekey patterns with ten or more capture groups can crash ATS when building a cache key because a successful match leaves the capture vector empty. Replacement patterns also reject valid group references when the default match buffer is too small. This patch sizes match buffers for the complete pattern, uses the available match count, and rejects empty capture results before iteration. Replay coverage verifies complete cache keys across the capture limit and preserves replacement and no-match behavior. Fixes: #13638 Co-authored-by: GPT-6 Astra Light -- 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]
