[PATCH] Fix potential crash in libsvn_repos when executing pre-commit hook
From: Sergey Raevskiy <sergey.raevskiy_at_visualsvn.com>
Date: Thu, 5 Feb 2015 22:19:47 +0300
Hi!
I've discovered another crash in lock-related code. Usage of deprecated API
Function svn_fs_access_add_lock_token() simply calls
[[[
for (hi = apr_hash_first(pool, lock_tokens); hi;
svn_stringbuf_appendstr(lock_str,
...
I've attached the patch with crashing test and simple fix, but I'm not really
Log message:
* subversion/subversion/libsvn_repos/hooks.c
* subversion/subversion/tests/libsvn_repos/repos-test.c
Patch by: sergey.raevskiy{_AT_}visualsvn.com
|
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.