You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Julian Foad (JIRA)" <ji...@apache.org> on 2018/03/09 09:03:00 UTC

[jira] [Updated] (SVN-4722) checksum fail during commit when delta is 16K

     [ https://issues.apache.org/jira/browse/SVN-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Foad updated SVN-4722:
-----------------------------
    Description: 
As discussed

[https://mail-archives.apache.org/mod_mbox/subversion-dev/201803.mbox/%3C87lgf3fda2.fsf%40codematters.co.uk%3E]

[https://svn.haxx.se/dev/archive-2018-03/0070.shtml]

There is an error in the checksum code added to 1.9.7 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.

  was:
As discussed

[https://mail-archives.apache.org/mod_mbox/subversion-dev/201803.mbox/%3C87lgf3fda2.fsf%40codematters.co.uk%3E]

[https://svn.haxx.se/dev/archive-2018-03/0070.shtml]

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


> checksum fail during commit when delta is 16K
> ---------------------------------------------
>
>                 Key: SVN-4722
>                 URL: https://issues.apache.org/jira/browse/SVN-4722
>             Project: Subversion
>          Issue Type: Bug
>          Components: libsvn_fs_fs
>    Affects Versions: 1.9.7
>            Reporter: Philip Martin
>            Priority: Major
>
> As discussed
> [https://mail-archives.apache.org/mod_mbox/subversion-dev/201803.mbox/%3C87lgf3fda2.fsf%40codematters.co.uk%3E]
> [https://svn.haxx.se/dev/archive-2018-03/0070.shtml]
> There is an error in the checksum code added to 1.9.7 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)