s3:auth:check_sam_security: null out sampass after it has been stolen.
authorMichael Adam <obnox@samba.org>
Wed, 6 Jan 2010 11:32:51 +0000 (12:32 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:49:24 +0000 (12:49 +0100)
commit35f158e283fd4efd92b3c6625ce54b413eb20b31
treef2b0006d2230d24d48ffc1ed2d4513f9254e8981
parent079a5fef10ce8cc9ae11a64456107eb6baec2064
s3:auth:check_sam_security: null out sampass after it has been stolen.

So that a later talloc_free would not harm. I could have used
talloc_move instead of talloc steal in make_server_info_sam(),
but this would have required a change of the signature.

Michael
(cherry picked from commit 1bb4a2ca3a1e11b395b3b819e468ecac67e16d64)
source3/auth/auth_sam.c