On Thu, 2002-11-07 at 15:52, [EMAIL PROTECTED] wrote:
> 
> 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.

Nice (and correct) fix.  

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to