This repository was archived by the owner on Feb 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Potential memory issue in PIPE #45
Copy link
Copy link
Open
Description
Please correct me if I'm wrong, but I think you have a memory issue. In
Lines 752 to 762 in 47e280e
| if (fdin) { | |
| if (dup2(*fdin, STDIN_FILENO) < 0) { | |
| PANIC("Could not setup stdin for child process: %s", strerror(errno)); | |
| } | |
| } | |
| if (fdout) { | |
| if (dup2(*fdout, STDOUT_FILENO) < 0) { | |
| PANIC("Could not setup stdout for child process: %s", strerror(errno)); | |
| } | |
| } |
Line 863 in 47e280e
| Pipe pip = {0}; |
Metadata
Metadata
Assignees
Labels
No labels