File: src/layout.zig:151-164
Severity: MEDIUM
Status: ✅ FIXED
findLeafParent used unbounded recursion over layout tree nodes.
Unbounded recursive call stack.
Added depth parameter depth to findLeafParentDepth capping recursion at MAX_LAYOUT_DEPTH = 64.
trees.