ldapsam_compat broken in 3.0.6/7
Jeremy Allison
jra at samba.org
Fri Sep 17 01:14:03 GMT 2004
On Wed, Sep 15, 2004 at 09:08:15AM -0600, Vince Brimhall wrote:
> The following fix to pdb_lda.c is needed to fix ldapsam_compat for
> 3.0.6/7. See mail from Ivano Cristofolini dated 15 Sept 2004.
>
> @@ -1228,8 +1228,11 @@
> static void append_attr(char ***attr_list, const char *new_attr)
> {
> int i;
>
> + if (new_attr == NULL)
> + return;
> +
> for (i=0; (*attr_list)[i] != NULL; i++)
> ;
>
> (*attr_list) = Realloc((*attr_list), sizeof(**attr_list) *
> (i+2));
Applied, thanks. It'll be in 3.0.8.
Jeremy.
More information about the samba-technical
mailing list