ops sorry for the noise, it turns out it is a subversion 1.6.17 bug
(fixed in release 1.7.1 or maybe earlier):

subversion was using a local variable in stack for the callbacks
argument of sasl_client_new

but sasl_dispose was called outside this function, so when utils->log went 
looking for log callbacks
it was accessing some bogus memory area

the bad code is in subversion lib_ra_svn/cyrus_auth.c svn_ra_svn__do_cyrus_auth:
callbacks is a function local variable while it should live until sasl_dispose 
is called 

code in subversion 1.7.1 is correct: it allocates callbacks in heap

cheers,

Marco

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/881862

Title:
  svn up Segmentation Fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/881862/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to