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

checksum fail during commit when delta is 16K

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.6, 1.9.7
    • 1.9.9
    • libsvn_fs_fs
    • None

    Description

      As discussed

      Email to dev@, from Philip Martin, 2018-03-03, "Re: SHA-1 collision in repository?", archived at mail-archives.apache.org, svn.haxx.se

      There is an error in the checksum code added to 1.9.7 1.9.6 to detect SHA1 collisions. The expanded length is calculated incorrectly and when the delta length is a multiple of 16K the checksum calculation stops early and fails.

      Symptom: Commits fail with a false "Filesystem is corrupt" error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: