You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently an infinite recursion bug when parsing poms that have looped dependencies. This may occur in a scenario as such:
root pom declares module A
module A declares another module B
B declares a dependency on module A
The parser will endlessly loop between B and A consuming memory until a stack overflow error occurs and the application crashes. Calling Parse on the pom.xml in this minimal reproducer project should demonstrate the behavior.
The parser likely needs a cycle check when parsing dependency to check if the dependency is already one of its ancestors.
Let me know if there's any additional context or reproduction help I can provide. Thanks!
The text was updated successfully, but these errors were encountered:
There is currently an infinite recursion bug when parsing poms that have looped dependencies. This may occur in a scenario as such:
module
Amodule
Bdependency
on module AThe parser will endlessly loop between B and A consuming memory until a stack overflow error occurs and the application crashes. Calling
Parse
on thepom.xml
in this minimal reproducer project should demonstrate the behavior.The parser likely needs a cycle check when parsing
dependency
to check if the dependency is already one of its ancestors.Let me know if there's any additional context or reproduction help I can provide. Thanks!
The text was updated successfully, but these errors were encountered: