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

need to use checksum when undeltifying

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • all
    • 0.14.0
    • src
    • None
    • Linux

    Description

      Delta representations store a checksum for the fulltext, but do not currently
      use it when undeltifying. In some cases (subrange reads), we cannot use the
      checksum anyway; but when we're reading the whole file, we can.  Fix so that
      in the latter case, we do check against it.
      
      For now, in reps-strings.c, this probably means that rep_read_range() should
      accumulate a checksum in the window_baton, and check it when done.  This will
      at least take care of verification on files that are read in one call to
      rep_read_range(), which is better than nothing.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kfogel Karl Fogel
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: