[Dovecot] Re: test65 killed by SIGSEV

Thomas Hummel hummel at pasteur.fr
Thu Mar 31 20:52:09 EEST 2005


On Wed, Mar 30, 2005 at 05:52:13PM +0200, Thomas Hummel wrote:

[...]

> just before loging the ldap request parameters
> (auth_request_log_debug) and to actually perform the search
> (db_ldap_search). The signal occurs on the call of
> t_strarray_join(attr_names, ",")

My understanding of the problem is that, for some reason, the
attr_names array of attribute strings has its elements (the attribute
strings such as uid) NULL terminated but is not itselft NULL
terminated. So the t_strarray_join builds the correct merged attribute
strings but the 'for' loop goes one step too far.

-- 
Thomas Hummel 	    | Institut Pasteur
<hummel at pasteur.fr> | Pôle informatique - systèmes et réseau



More information about the dovecot mailing list