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

SVNAdmin::load passes a null data buffer to InputInterface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.4.x
    • 1.7.0
    • bindings_javahl
    • None

    Description

      Create a simple dump file.
      Try loading into a repository using the SVNAdmin::load function using a
      implementation of InputInterface that adapts a buffered inputstream around the
      dump file. At some point the InputInterface's read() method gets called with a
      'null' data buffer which generates a NPE. Checking for null doesn't work; it
      generates an incomplete dump file error from subversion.
      

      Original issue reported by scato

      Attachments

        1. 1_repo.dmp
          1 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: