Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

Prevent stack overflow in recursive template resolution #9

@ezozbek36

Description

@ezozbek36

In manager.rs, the surely_template() method uses unbounded recursion to traverse template collections. Without depth limits, this could cause stack overflow with deeply nested or circular references.

Suggested fix: Implement a maximum recursion depth check and detect circular references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions