1. 05 5月, 2016 1 次提交
    • B
      rpc: Don't leak fd via CreateXMLWithFiles · 5d4a0b00
      Ben Gray 提交于
      FD passing APIs like CreateXMLWithFiles or OpenGraphicsFD will leak
      file descriptors. The user passes in an fd, which is dup()'d in
      virNetClientProgramCall. The new fd is what is transfered to the
      server virNetClientIOWriteMessage.
      
      Once all the fds have been written though, the parent msg->fds list
      is immediately free'd, so the individual fds are never closed.
      
      This closes each FD as its send to the server, so all fds have been
      closed by the time msg->fds is free'd.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1159766
      (cherry picked from commit 5ba48584)
      5d4a0b00
  2. 21 4月, 2016 1 次提交
  3. 20 4月, 2016 30 次提交
  4. 15 4月, 2016 3 次提交
  5. 06 4月, 2016 1 次提交
  6. 05 4月, 2016 4 次提交