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 Geyer (Jira)" <ji...@apache.org> on 2026/05/27 21:56:00 UTC

[jira] [Created] (THRIFT-6045) Limit struct read/write recursion depth in Ruby library

Jens Geyer created THRIFT-6045:
----------------------------------

             Summary: Limit struct read/write recursion depth in Ruby library
                 Key: THRIFT-6045
                 URL: https://issues.apache.org/jira/browse/THRIFT-6045
             Project: Thrift
          Issue Type: Bug
          Components: Ruby - Library
            Reporter: Jens Geyer


The Ruby library does not limit struct read/write recursion depth. A deeply nested message can exhaust the call stack. Add recursion depth tracking to the protocol base and emit guards from the generated struct read and write methods.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)