You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by "Jens-G (via GitHub)" <gi...@apache.org> on 2026/05/27 21:13:39 UTC

[PR] THRIFT-6033: Harden Swift binary protocol negative sizes [thrift]

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

   ## Summary
   
   - Adds negative-size guards in `readMapBegin`, `readListBegin`, `readSetBegin`, and the binary `read() -> Data` path in `TBinaryProtocol.swift`
   - Adds 4 XCTest tests in `TBinaryProtocolTests.swift` covering all guarded methods
   
   ## Test plan
   
   - [ ] `swift test --filter TBinaryProtocolTests` — 14/14 pass (4 new tests)
   
   🤖 Generated with [Claude Code](https://claude.ai/claude-code)
   
   Co-Authored-By: Claude Sonnet 4.6 <no...@anthropic.com>


-- 
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: notifications-unsubscribe@thrift.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] THRIFT-6033: Harden Swift binary protocol negative sizes [thrift]

Posted by "Jens-G (via GitHub)" <gi...@apache.org>.
Jens-G merged PR #3538:
URL: https://github.com/apache/thrift/pull/3538


-- 
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: notifications-unsubscribe@thrift.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org