mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:samr: Add missing NULL pointer check
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
This commit is contained in:
parent
e7d4926654
commit
c57276cae6
@ -638,6 +638,9 @@ the string %%u, and the given string %s does not.\n", passwordprogram ));
|
||||
chatsequence,
|
||||
"%n",
|
||||
newpass);
|
||||
if (chatsequence == NULL) {
|
||||
return false;
|
||||
}
|
||||
return chat_with_program(passwordprogram,
|
||||
pass,
|
||||
chatsequence,
|
||||
|
Loading…
x
Reference in New Issue
Block a user