bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/17896] New: Plugin_manager::release_input_file leaks file desc


From: hjl.tools at gmail dot com
Subject: [Bug gold/17896] New: Plugin_manager::release_input_file leaks file descriptors
Date: Wed, 28 Jan 2015 17:20:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17896

            Bug ID: 17896
           Summary: Plugin_manager::release_input_file leaks file
                    descriptors
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com

There are

ld_plugin_status
Plugin_manager::release_input_file(unsigned int handle)
{
  if (this->object(handle) == NULL)
    return LDPS_BAD_HANDLE;

  Pluginobj* obj = this->object(handle)->pluginobj();

  if (obj == NULL)
    return LDPS_BAD_HANDLE;

  obj->unlock(this->task_);
  return LDPS_OK;
}

It doesn't close the file descriptor.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]