You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian Colavito <br...@gmail.com> on 2017/01/19 02:12:15 UTC

Svndumpfilter crash on Windows 10

This was using the binary bundled with VisualSVN.  I got similar results using the one from TortoiseSVN.


Re: Svndumpfilter crash on Windows 10

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Daniel Shahaf wrote on Thu, Jan 19, 2017 at 07:41:03 +0000:
> zsh: segmentation fault  svndumpfilter include /
> ]]]
> 
> The fix should be just a matter of not dereferencing 'propstring' in
> svn_repos__dump_revision_record() in at the point
> SVN_REPOS_DUMPFILE_CONTENT_LENGTH is printed.

Ping?

Re: Svndumpfilter crash on Windows 10

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
[users@->dev@]

Brian Colavito wrote on Wed, Jan 18, 2017 at 21:12:15 -0500:
> This was using the binary bundled with VisualSVN.  I got similar results using the one from TortoiseSVN.

Reproduction recipe:

[[[
% svnadmin create r 
% svnadmin delrevprop r -r0 svn:date 
% svnadmin dump r | svndumpfilter include / 
Including prefixes:
   '/'

SVN-fs-dump-format-version: 2

UUID: dfb98010-aee2-4f39-91c0-2fefa7ca3986

* Dumped revision 0.
zsh: done                svnadmin dump r | 
zsh: segmentation fault  svndumpfilter include /
]]]

The fix should be just a matter of not dereferencing 'propstring' in
svn_repos__dump_revision_record() in at the point
SVN_REPOS_DUMPFILE_CONTENT_LENGTH is printed.

However, I won't be investigating this further (no build environment).

Thanks for the report, Brian.

Cheers,

Daniel