Jens-G opened a new pull request, #3552:
URL: https://github.com/apache/thrift/pull/3552

   ## Summary
   
   - Adds `incrementRecursionDepth()` / `decrementRecursionDepth()` to 
`TProtocol`
   - Limit is 64; throws `TProtocolException(DEPTH_LIMIT)` when exceeded
   - `TBase::read` / `TBase::write` wrap with `try/finally` to guarantee 
counter restoration
   - PHP generator emits the calls for all generated struct read/write methods
   
   ## Test plan
   
   - [ ] `lib/php/test/Unit/Lib/Protocol/TProtocolTest.php` covers 
allow/reject/restore
   
   🤖 Generated with [Claude Code](https://claude.ai/claude-code)
   
   Co-Authored-By: Claude Sonnet 4.6 <[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]

Reply via email to