Checkout
philip
committed
on 06 Feb 15
Fix SEGV in libsvn_repos due to legacy lock API when executing
pre-commit hook.

* subversion/subversion/libsvn_repos/hooks.c
(lock_token_… Show more
Fix SEGV in libsvn_repos due to legacy lock API when executing

pre-commit hook.

* subversion/subversion/libsvn_repos/hooks.c

 (lock_token_content): Add special handling for 'magic' value

  ((const char *) 1).

* subversion/subversion/tests/libsvn_repos/repos-test.c

 (deprecated_access_context_api): New.

 (test_funcs): Add new test.

Patch by: sergey.raevskiy{_AT_}visualsvn.com

         me

Show less