[s3] CID 1427623 and possible memory leak

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jun 5 12:16:15 UTC 2018


On Tue, Jun 05, 2018 at 12:55:22PM +0200, Swen Schillig wrote:
> On Tue, 2018-06-05 at 10:21 +0200, Volker Lendecke wrote:
> > On Tue, Jun 05, 2018 at 09:08:49AM +0200, Swen Schillig via samba-
> > technical wrote:
> > > winbindd_dual_pam_auth()->winbindd_dual_pam_auth_kerberos()-
> > > >winbindd_raw_kerberos_login()
> > > ->kerberos_return_pac(.... talloc_move is failing =>
> > > pac_data_ctr==NULL but result==NT_STATUS_OK...)
> > > or 
> > >  pac_data is NULL but still result==NT_STATUS_OK...)
> > 
> > Can you explain how talloc_move can fail?
> The API description says for talloc_move
> Returns:
>     The pointer of the talloc chunk it has been moved to, NULL on error. 

That's the docs. Docs can be wrong. Can you point me at the line of
code where it errors out?

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list