[ 
https://issues.apache.org/jira/browse/GROOVY-12109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092036#comment-18092036
 ] 

ASF GitHub Bot commented on GROOVY-12109:
-----------------------------------------

testlens-app[bot] commented on PR #2634:
URL: https://github.com/apache/groovy/pull/2634#issuecomment-4817977527

   ## ✅ All tests passed ✅
   
   🏷️ Commit: d7d7902b0d6f9cb7a646aff6296a81b1b120d2d5
   ▶️ Tests:  66740 executed
   ⚪️ Checks: 31/31 completed
   
   ---
   _Learn more about TestLens at [testlens.app](https://testlens.app)._
   




> Harden Closure deserialization against owner/delegate reference cycle
> ---------------------------------------------------------------------
>
>                 Key: GROOVY-12109
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12109
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
>   A closure whose {{owner}}/{{delegate}}/{{thisObject}} references form a 
> cycle serializes successfully but recurses without bound when the closure is 
> later invoked.                                                                
>                                                        
>                                                                               
>                                                                               
>                                                                               
>                                                   
>   Add a defensive cycle check when deserializing the built-in serializable 
> closure types, rejecting such graphs with an {{InvalidObjectException}}. 
> Legitimate closure serialization (including curried and composed closures) is 
> unaffected.



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

Reply via email to