[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Error E140001: Sum of subblock sizes larger than total block content length

From: Julian Foad <julianfoad_at_apache.org>
Date: Wed, 22 Nov 2017 17:56:50 +0100

(dropping users@)

Julian Foad wrote:
> The attached patch should fix it; not yet tested.

I have opened https://issues.apache.org/jira/browse/SVN-4707
and attached the patch there. (Patch v2 is same as v1 but with tweaked
log message.)

We briefly discussed testing. It's a pretty obvious fix, but ideally we
would write a regression test. We don't want to store 2 GB* of temporary
data during a test run (that would make testing onerous) so we would
need to write a test that generates data, streams it to the rdump 'dump'
function, pipes that into the rdump 'load', and checks that it parses
without throwing errors, without storing the loaded data.

Anyone interested in writing such a test?

   * Actually we should test with over 4 GB because as well as the "%ld"
bug I found and fixed a "%lu" bug in nearby code at the same time.

- Julian
Received on 2017-11-22 17:56:56 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.