CVS update: samba/source/rpc_server

Jeremy Allison jra at samba.org
Sat Nov 24 11:44:02 EST 2001


On Fri, Nov 23, 2001 at 04:36:38PM -0800, abartlet at samba.org wrote:

> Kill off that crazy copy_sam_passwd().  You simply can't do that if the
> structre contains pointers (well not if you intend of free those pointers
> at some stage)

Andrew, if this is needed at some future stage, look at the way
security descriptors are handled. Each struct within the master
structure is deepcopied (a C++ term, a language I love and tridge
hates :-) to ensure safety for this kind of thing.

Cheers,

	Jeremy.




More information about the samba-cvs mailing list