svn commit: samba r9752 - branches/SAMBA_3_0/source/rpc_server
Gerald (Jerry) Carter
jerry at samba.org
Mon Aug 29 21:41:33 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Stefan (metze) Metzmacher wrote:
| jerry at samba.org schrieb:
|>>figured out why talloc_steal() is a bad idea for SEC_DESC*
|>>Add a comment so someone else doesn't get bitten by this as well.
| we hit the same problem in samba4 a few week ago,
| the solution is to correctly create the SEC_DESC buffers,
| and mad the sub elements childs of the main structure.
so then is talloc_steal supposed to move a pointer and
all its children from one context to another? Or just
the pointer itself. If I ensure that the members of
SEC_DESC are create from the top level SEC_DESC pointer,
talloc_steal() would work?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical