winbindd segfaulting
jra at dp.samba.org
jra at dp.samba.org
Thu May 15 18:23:01 GMT 2003
On Thu, May 15, 2003 at 02:18:10PM -0400, Roylance, Stephen D. wrote:
> > -----Original Message-----
> > From: jra at dp.samba.org [mailto:jra at dp.samba.org]
> > Sent: Wednesday, May 14, 2003 4:47 PM
> > To: Guenther Deschner; Roylance, Stephen D.; samba-technical
> > Subject: Re: winbindd segfaulting
> >
> > On Wed, May 14, 2003 at 09:49:46AM +0200, Guenther Deschner wrote:
> > > apprently the same bug as
> > >
> > > https://bugzilla.samba.org/show_bug.cgi?id=80
>
> This seemed to fix it for me:
> --- ../../../cvs2/samba/source/nsswitch/winbindd_cm.c Thu May 15 13:14:30
> 2003
> +++ nsswitch/winbindd_cm.c Thu May 15 13:12:54 2003
> @@ -502,7 +502,7 @@
> {
> find_cm_connection(domain, pipe_name, conn_out);
>
> - if (conn_out != NULL)
> + if (conn_out != NULL && *conn_out != NULL)
> return NT_STATUS_OK;
>
> return new_cm_connection(domain, pipe_name, conn_out);
Oh thanks ! Damn good catch (cut-n-paste bad code strikes again :-).
Jeremy.
More information about the samba-technical
mailing list