[PATCH] build and use-after free fixes found during Solaris work

Andrew Bartlett abartlet at samba.org
Wed Mar 27 15:50:57 MDT 2013


On Wed, 2013-03-27 at 09:47 -0700, Jeremy Allison wrote:
> On Wed, Mar 27, 2013 at 11:26:36AM +0100, Volker Lendecke wrote:
> > On Wed, Mar 27, 2013 at 12:34:19PM +1100, Andrew Bartlett wrote:
> > > On Solaris-derived systems (OpenIndiana in this case) I found we needed
> > > to avoid the libidmap.so name, and I found a use-after-free in the auth
> > > code at debug level 5.
> > > 
> > > See Attached, please review and or push.
> > 
> Pushed to autobuild with talloc_free -> TALLOC_FREE change.

When I tried to push the idmap change, it broke the idmap.rfc2307 test.
I think we must rely on the subsystem name more broadly, so I'll need to
find another way out for this, perhaps putting the -samba4 suffix back
on our private but not bundled libraries. 

(And I'm *so* glad this now has an automated test)

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list