[ 
https://issues.apache.org/jira/browse/THRIFT-6013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-6013.
--------------------------------
    Fix Version/s: 0.24.0
         Assignee: Jens Geyer
       Resolution: Fixed

> 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
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.24.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to