Jens-G opened a new pull request, #3557: URL: https://github.com/apache/thrift/pull/3557
## Summary - Adds `recursionDepth` instance variable to `TProtocol` with `incrementRecursionDepth` / `decrementRecursionDepth` methods - Limit is 64; raises `TProtocolError depthLimit` on excess - Also fixes a pre-existing bug: `struct_reader` was passing `oprot` to `readStructEnd` instead of `iprot` - Smalltalk generator wraps struct read/write blocks with `ensure:` to guarantee decrement ## Test plan - [ ] Smalltalk unit tests via `TProtocolTest` in `lib/st/` 🤖 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]
