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

Bugs in apr_file_trunc

From: Julian Foad <julianfoad_at_apache.org>
Date: Fri, 30 Jun 2017 15:49:29 +0100

It came to my notice that apr_file_trunc() has some bugs which have been
worked around in Subversion.

Please see svn_io_file_trunc() in subversion/libsvn_subr/io.c :

http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/io.c?view=markup&pathrev=1759116#l4065

r1240752 added a work-around
r1759116 added a further work-around, and a test

Might anyone care to investigate transferring these fixes and tests for
them into APR?

- Julian
Received on 2017-06-30 16:49:43 CEST

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