1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

samr4: Fix Coverity ID 1499378

Coverity isn't smart enough to see this is initialized. As it's good
practice to initialize vars, just do it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2023-11-15 14:36:20 +01:00 committed by Jeremy Allison
parent 66a8a4f02e
commit a5c2134cc2

View File

@ -5260,8 +5260,8 @@ static NTSTATUS dcesrv_samr_ValidatePassword(struct dcesrv_call_state *dce_call,
TALLOC_CTX *mem_ctx,
struct samr_ValidatePassword *r)
{
struct samr_GetDomPwInfo r2;
struct samr_PwInfo pwInfo;
struct samr_GetDomPwInfo r2 = {};
struct samr_PwInfo pwInfo = {};
const char *account = NULL;
DATA_BLOB password;
enum samr_ValidationStatus res;