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

In theory, BDB backend could allow `changes' table out-of-sync with actual changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.6.0
    • libsvn_fs_base
    • None

    Description

      While reading code in libsvn_fs_base/tree.c today, I noticed something.  The
      txn_body_apply_textdelta() and txn_body_apply_text() functions both register
      `changes' table entries for textual modifications before those mods happen,
      which is unlike the way other functions register `changes' table entries (after
      the operation has successfully completed).  I have reason to believe that it
      might be possible to, then, commit revisions to Subversion (programmatically)
      which claim that certain files' text were changed when, in fact, those changes
      were never finalized in the repository.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: