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

--
Marco Paolini
CreDRa



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to