[PATCH] memset_s() and talloc_set_secure()

David Disseldorp ddiss at samba.org
Tue Oct 16 10:01:34 UTC 2018

On Sat, 13 Oct 2018 08:05:39 +1300, Andrew Bartlett via samba-technical wrote:

> Sure, but all this is really is another destructor.
> I'm with Jeremy on this one.  Make it like talloc_stackframe(), a Samba
> add-on, at least for now.


> Then we can learn about how this works in the real world, and tweak it
> without promising it in our talloc ABI forever (like the memlimit stuff
> is) if it doesn't turn out. 

Is there anything stopping us from deprecating the talloc memlimit
functionality, as a step towards removal in a subsequent ABI version
indicates that it was intended for the LDAP server implementation, but
never ended up being used.

Cheers, David

More information about the samba-technical mailing list