You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/05/19 12:04:47 UTC
svn commit: r1484257 -
/subversion/branches/1.6.x-issue4340-repos/subversion/libsvn_repos/commit.c
Author: stsp
Date: Sun May 19 10:04:47 2013
New Revision: 1484257
URL: http://svn.apache.org/r1484257
Log:
On the 1.6.x-issue4340-repos branch:
* subversion/libsvn_repos/commit.c
(illegal_path_escape): Fix an off-by-one allocation. Corresponds to
the fix made on trunk in r1481631, in the original version of the
illegal_path_escape() function.
Modified:
subversion/branches/1.6.x-issue4340-repos/subversion/libsvn_repos/commit.c
Modified: subversion/branches/1.6.x-issue4340-repos/subversion/libsvn_repos/commit.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.6.x-issue4340-repos/subversion/libsvn_repos/commit.c?rev=1484257&r1=1484256&r2=1484257&view=diff
==============================================================================
--- subversion/branches/1.6.x-issue4340-repos/subversion/libsvn_repos/commit.c (original)
+++ subversion/branches/1.6.x-issue4340-repos/subversion/libsvn_repos/commit.c Sun May 19 10:04:47 2013
@@ -191,7 +191,7 @@ illegal_path_escape(const char *path, ap
i - copied);
/* Make sure buffer is big enough for '\' 'N' 'N' 'N' (and NUL) */
- svn_stringbuf_ensure(retstr, retstr->len + 4);
+ svn_stringbuf_ensure(retstr, retstr->len + 5);
/*### The backslash separator doesn't work too great with Windows,
but it's what we'll use for consistency with invalid utf8
formatting (until someone has a better idea) */