You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2015/10/07 22:06:26 UTC

[jira] [Commented] (MESOS-3519) Fix file descriptor leakage / double close in the code base

    [ https://issues.apache.org/jira/browse/MESOS-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947485#comment-14947485 ] 

Benjamin Mahler commented on MESOS-3519:
----------------------------------------

[~chzhcn] looks like we have to fix the code using fts_open as well:

https://github.com/apache/mesos/blob/0.25.0-rc2/3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp#L233
https://github.com/apache/mesos/blob/0.25.0-rc2/src/linux/cgroups.cpp#L911

Both of these have some returns where the call to fts_close is missing.

> Fix file descriptor leakage / double close in the code base
> -----------------------------------------------------------
>
>                 Key: MESOS-3519
>                 URL: https://issues.apache.org/jira/browse/MESOS-3519
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Chi Zhang
>            Assignee: Chi Zhang
>             Fix For: 0.25.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)