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

checksum fail during commit when delta is 16K

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.6, 1.9.7
    • Fix Version/s: 1.9.9
    • Component/s: libsvn_fs_fs
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: