[PATCH] Fix use after free in resolve_name()

Andrew Bartlett abartlet at samba.org
Tue Oct 27 01:31:35 UTC 2015


On Mon, 2015-10-26 at 20:14 +0100, Andreas Schneider wrote:
> On Saturday 24 October 2015 19:02:26 Volker Lendecke wrote:
> > Yes, this looks very much like what I meant :-)
> > 
> > In particular I'm looking forward to all the "-" in the
> > wscript_build dependencies!
> 
> Hi Volker,
> 
> here is the final patchset! The first patch already fixes the bug.
> I've added 
> it so we can cherry-pick it to 4.2 and 4.3.
> 
> The next patch replaces the libsmb code using libwbclient. The last
> one 
> updates the WHATSNEW.txt file because nss_wins now requires winbind
> to be 
> running.
> 
> I've tested the patches here. I can't add tests in selftest because 
> nss_wrapper doesn't support host modules yet.

Another approach to testing is shown in nsstest, which like our BIND9
DLZ tests, loads the plugin into a different binary and confirms
operation that way.

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba









More information about the samba-technical mailing list