Fixing winbindd extra_data response...

simo idra at samba.org
Sat Dec 16 04:35:12 GMT 2006


On Fri, 2006-12-15 at 18:23 -0800, Jeremy Allison wrote:
> On Fri, Dec 15, 2006 at 04:04:13PM -0800, Jeremy Allison wrote:
> > Just an FYI:, I'm in the process of fixing the
> > winbindd talloc/malloc confusion w.r.t extra_data.
> > 
> > One thing I want everyone to realize though, as
> > they've been confused in the past.
> > 
> > xxx = talloc(NULL, size) is *NOT* the same
> > as xxx = malloc(size) and you can't use
> > free() on that pointer.
> 
> Ok, I've gone through winbindd server
> very carefully and I think with the latest
> patches I added we're good.
> 
> Let me know if not ! :-).

See my comments to the commit.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list