Skip to content

[FIX] Fix heredoc for subshell redirect#278

Merged
LeaYeh merged 1 commit intomainfrom
fix-issue-274
Mar 23, 2024
Merged

[FIX] Fix heredoc for subshell redirect#278
LeaYeh merged 1 commit intomainfrom
fix-issue-274

Conversation

@itislu
Copy link
Collaborator

@itislu itislu commented Mar 22, 2024

Since now there are also redirect lists in cmd_tables of type other than C_SIMPLE_CMD, they should not be skipped anymore when checking for heredoc io_redirect nodes.

@itislu itislu added the leak There are memory leaks label Mar 22, 2024
@itislu itislu added this to the Executor milestone Mar 22, 2024
@itislu itislu linked an issue Mar 22, 2024 that may be closed by this pull request
* Resolves [LEAK] `(cat) << eof` fails and leaks the file descriptor #274
@LeaYeh LeaYeh merged commit 700e691 into main Mar 23, 2024
@LeaYeh LeaYeh deleted the fix-issue-274 branch March 23, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

leak There are memory leaks

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[LEAK] (cat) << eof fails and leaks the file descriptor

2 participants