Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3290

svn_ra_local__get_file leaks file descriptors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.x
    • 1.7.0
    • libsvn_ra_local
    • None

    Description

      The svn_ra_local__get_file function calls svn_fs_file_contents() to get a
      svn_stream_t for the file contents, but never closes it.  The attached patch
      fixes this by adding a call to svn_stream_close.
      

      Original issue reported by erh

      Attachments

        1. 1_svn-ra_plugin.c.diff
          0.4 kB
          Subversion Importer

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: