Jens Geyer created THRIFT-6013:
----------------------------------
Summary: Add recursion depth limit to skip() in Ruby library
Key: THRIFT-6013
URL: https://issues.apache.org/jira/browse/THRIFT-6013
Project: Thrift
Issue Type: Improvement
Components: Ruby - Library
Reporter: Jens Geyer
The skip() method in the Ruby library recurses without a depth bound on nested
container and struct types. Other language libraries (Java, Python, Go, netstd)
already enforce a configurable recursion limit. This aligns the Ruby
implementation with those by adding a max_depth parameter (default 64) and
raising ProtocolException::DEPTH_LIMIT when exceeded.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)