[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] fix types in ra_svn SASL stream functions

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2007-09-13 16:00:15 CEST

Karl Fogel <kfogel@red-bean.com> writes:

> Joe Orton <jorton@redhat.com> writes:
>> These are passing an (unsigned int *) to functions expecting an
>> (apr_size_t *).
>>
>> * subversion/libsvn_ra_svn/cyrus_auth.c (sasl_read_cb): Fix type of
>> length argument passed to svn_ra_svn__stream_read.
>> (sasl_write_cb): Fix type of length argument passed to
>> svn_ra_svn__stream_write.
>
> Nice catch, r26573.

This fixes the SIGSEGVs I was getting with a misconfigured SASL
server. In fact since the tests now pass it was perhaps "less than
optimal" rather than "misconfigured".

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 13 15:57:00 2007

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.