Jefffrey opened a new issue, #26737:
URL: https://github.com/apache/datafusion/issues/26737

   ### Is your feature request related to a problem or challenge?
   
   We have recursion protection for serializing logical plans:
   
   - https://github.com/apache/datafusion/issues/23823
   
   
https://github.com/apache/datafusion/blob/c61fb09ac123d669382287ceb7b8f36267fc4711/datafusion/proto/src/logical_plan/mod.rs#L1413-L1422
   
   However there isn't such for deserializing them:
   
   
https://github.com/apache/datafusion/blob/c61fb09ac123d669382287ceb7b8f36267fc4711/datafusion/proto/src/logical_plan/mod.rs#L498-L508
   
   Which can leave them vulnerable to stack overflows
   
   ### Describe the solution you'd like
   
   Implement recursion protection for deserializing logical plans
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   Identified by Wanxin Yin
   
   ### Willingness to contribute
   
   I cannot contribute to this feature at this time


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to