Date:   Thu Nov  7 04:52:04 2002
Author: tridge

Update of /home/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv12371

Modified Files:
        passdb.c 
Log Message:
when doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
sam account object, then pdb_update_sam_account() can be used to
update an account. This code path could lead to the methods element of
the account being used when uninitialised (leading to a segv)

Easiest fix is to always make that that when creating a sam_account
object we initialise the methods to null, so that the passdb code
knows that it needs to be filled in.


Revisions:
passdb.c                1.180 => 1.181
        
http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c?r1=1.180&r2=1.181

Reply via email to