getCwd PTY path resolutiongetCwd PTY path resolutionFile: src/server/pty.zig:193–195
Severity: MEDIUM (performance)
Status: ✅ FIXED
getCwd allocates a heap string using allocator.dupeZ(u8, proc_path) before calling readlink.
Impact: Unnecessary heap allocation on PTY path inspection.
Fix: Use std.fmt.bufPrintZ to write into a stack buffer.