Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools:scm:svn:1.8
subversion
subversion-1.8.19-fix-sha1-collision.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File subversion-1.8.19-fix-sha1-collision.patch of Package subversion
Fix 'svnadmin load' fails with bogus SHA1 collision error. https://svn.apache.org/r1803435 Index: subversion/libsvn_fs_fs/fs_fs.c =================================================================== --- subversion/libsvn_fs_fs/fs_fs.c (revision 1886022) +++ subversion/libsvn_fs_fs/fs_fs.c (working copy) @@ -4524,9 +4524,10 @@ create_rep_state_body(struct rep_state **rep_state if (rev_hint) *rev_hint = rep->revision; - /* continue constructing RS and RA */ - rs->window_cache = ffd->txdelta_window_cache; - rs->combined_cache = ffd->combined_window_cache; + /* Continue constructing RS and RA. + * Note that we must disable caching for in-txn data. */ + rs->window_cache = rep->txn_id ? NULL : ffd->txdelta_window_cache; + rs->combined_cache = rep->txn_id ? NULL : ffd->combined_window_cache; SVN_ERR(read_rep_line(&ra, rs->file, pool)); SVN_ERR(get_file_offset(&rs->start, rs->file, pool));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor