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

   ## Summary
   
   - Adds recursion depth counter to Swift `TProtocol` base
   - Limit is 64; throws `TProtocolError` with `.depthLimit` when exceeded
   - Swift generator wraps struct read/write with `defer` to guarantee decrement
   
   ## Test plan
   
   - [ ] Unit tests in `lib/swift/Tests/` verify depth 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