Skip to content

Fix handle files#977

Merged
mseri merged 4 commits intomirage:masterfrom
mseri:fix-handle-files
Apr 4, 2023
Merged

Fix handle files#977
mseri merged 4 commits intomirage:masterfrom
mseri:fix-handle-files

Conversation

@mseri
Copy link
Copy Markdown
Collaborator

@mseri mseri commented Apr 4, 2023

Fixes #978

mseri added 4 commits March 27, 2023 16:01
Reported by Stéphane Glondu, fixed by Thomas Gazagnaire (samhot)

Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
Fixed by Anurag Soni (anuragsoni)

Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
The only way to avoid leaks is to always consume the stream, which
means also that the developer needs to ensure that infinite unclosable
streams are not produced.

Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
@mseri mseri mentioned this pull request Apr 4, 2023
@mseri mseri merged commit 11c8f54 into mirage:master Apr 4, 2023
@mseri mseri deleted the fix-handle-files branch April 4, 2023 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fd leak in handle_files

1 participant