Ronald Taneza <ronald.taneza@gmail.com>


Found
r1816069

r1816069 | julianfoad | 2017-11-22 11:00:22 -0600 (Wed, 22 Nov 2017)

On the '1.8.x-issue4707' branch: Fix #4707: svnrdump dump: 2GB limit on content-length header

On platforms where 'long' is 32 bits, such as at least some versions of
Windows, svnrdump printed bad headers for file-representations more than 2GB
in length, up to version 1.8.19.

Attempting to load such a dump file gave this error: "svnadmin: E140001: Sum
of subblock sizes larger than total block content length".

This code was refactored before version 1.9.0 such that the bug was no
longer present.

Found by: Ronald Taneza <ronald.taneza{_AT_}gmail.com>

* subversion/svnrdump/dump_editor.c
  (close_file): Print lengths using APR_SIZE_T_FMT instead of 'long'.