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

API layering violation in repository loading logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.6.x
    • 1.7.0
    • libsvn_repos
    • None

    Description

      While in course of making some other changes, I noticed an "oops" in
      libsvn_repos/load.c.  This file contains two chunks of code:  (1) a dumpstream
      parser which drives a caller-supplied vtable implementation and baton pair, and
      (2) a specific vtable implementation and baton which can be used to load
      dumpstream data into a Subversion repository.
      
      The "oops" is that some use of the (2)'s specific baton has crept into (1),
      which isn't allowed to know the details of the baton it is passing around.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmpilato C. Michael Pilato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: