winbindd segfaulting

Guenther Deschner gd at suse.de
Fri May 16 08:19:22 GMT 2003


hi,

https://bugzilla.samba.org/show_bug.cgi?id=80 can be closed now.

thanks a lot,
guenther

On Thu, May 15, 2003 at 06:23:01PM +0000, jra at dp.samba.org wrote:
> 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.

-- 
Guenther Deschner                                         gd at suse.de
SuSE Linux AG                                        GnuPG: 8EE11688
Berliner Str. 27                      phone:  +49 (0) 30 / 430944778
D-13507 Berlin                           fax:  +49 (0) 30 / 43732804
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030516/8222a712/attachment.bin


More information about the samba-technical mailing list