GNU nano - Bugs: bug #57120, if creating a later pipe would...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57120: if creating a later pipe would fail, earlier ones stay open
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 27 Oct 2019 10:29:58 AM UTC | ||
Severity: | 2 - Minor | Status: | Wont Fix |
Assigned to: | None | Open/Closed: | Closed |
Mon 10 Feb 2020 12:19:02 PM UTC, comment #1: |
Benno Schulenberg <bens> |
Sun 27 Oct 2019 10:29:58 AM UTC, original submission:
In do_int_speller() all three needed pipes are created up front, in a single statement. But... if creation of the third pipe (the one for the output of 'uniq') would fail, the other two pipes (the ones for 'spell' and 'sort') would not be closed and would stay around as long as nano keeps running. If the user types ^T several times in a row and each time the third call of pipe() would fail, it could easily exhaust the available file descriptors.
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-02-10 | bens | Status | None | Wont Fix | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-d3ae.
Corresponding source code
Too unlikely an issue, with probably unnoticeable impact.