git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix gcc11 compiler issue "-Werror=maybe-uninitialized"
[samba.git]
/
libcli
/
auth
/
smbencrypt.c
diff --git
a/libcli/auth/smbencrypt.c
b/libcli/auth/smbencrypt.c
index 337e89ef559c6e6076d617cec44f2316cd2e12d4..468374699f7c02c1b29b7714fbf3906e384d42a8 100644
(file)
--- a/
libcli/auth/smbencrypt.c
+++ b/
libcli/auth/smbencrypt.c
@@
-1041,7
+1041,7
@@
WERROR decode_wkssvc_join_password_buffer(TALLOC_CTX *mem_ctx,
DATA_BLOB *session_key,
char **pwd)
{
- uint8_t _confounder[8];
+ uint8_t _confounder[8]
= { 0 }
;
DATA_BLOB confounder = data_blob_const(_confounder, 8);
uint8_t pwbuf[516] = {0};
DATA_BLOB decrypt_pwbuf = data_blob_const(pwbuf, 516);