mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r16248: Fix Coverity ID 297
This commit is contained in:
parent
b82c95cb43
commit
e56e3c19e1
@ -579,6 +579,11 @@ BOOL check_lanman_password(char *user, uchar * pass1,
|
||||
uint32 acct_ctrl;
|
||||
const uint8 *lanman_pw;
|
||||
BOOL ret;
|
||||
|
||||
if ( !(sampass = samu_new(NULL)) ) {
|
||||
DEBUG(0, ("samu_new() failed!\n"));
|
||||
return False;
|
||||
}
|
||||
|
||||
become_root();
|
||||
ret = pdb_getsampwnam(sampass, user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user