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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.6.0
    • Component/s: libsvn_fs_base
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: