[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: sb_sasl_write doesn't handle partial writes (ITS#2211)

If you can, please review the current HEAD code to see if
changes already made resolve this problem.  If not, a patch
against HEAD would be appreciated.  Thanks, Kurt

At 08:26 AM 2002-11-27, mattias.ellert@tsl.uu.se wrote:
>Full_Name: Mattias Ellert
>Version: 2.0.22 / 2.0.27 / 2.1.8
>OS: linux
>URL: http://grid.tsl.uu.se/openldap/
>Submission from: (NULL) (
>We are using version 2.0.22 and found that the SASL authenticated searches
>failed if the size of the transferred entries are large. I traced to reason for
>this to the fact that the sb_sasl_write function doesn't handle the case when
>the ber_pvt_sb_do_write function returns without having written the entire
>content of the private SASL buffer correctly.
>I downloaded the sources for the more recent versions (2.0.27 and 2.1.8) from
>www.openldap.org and saw that the problem still exists.
>(My original 2.0.22 patch also fixed the problem with the limited size of the
>SASL buffer -- which has been fixed in 2.0.27 and 2.1.8 -- the problem with the
>partially written buffer still exists in these versions.)
>You can find the patch (for different version) at