summaryrefslogtreecommitdiff
path: root/wscript_configure_system_gnutls
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-01-31 20:33:43 +0100
committerStefan Metzmacher <metze@samba.org>2022-02-02 17:36:35 +0000
commit99182af4ab5a3413311e27c2a193e09babceb01c (patch)
tree0f4572f689799280e81c49cffc0adcdc47a5cf52 /wscript_configure_system_gnutls
parent68e62962b08497da8359ddbe4324443818c05cd1 (diff)
downloadsamba-99182af4ab5a3413311e27c2a193e09babceb01c.tar.gz
libcli/smb: fix error checking in smb2_signing_decrypt_pdu() invalid ptext_len
When the ptext_size != m_total check fails, we call this: status = gnutls_error_to_ntstatus(rc, NT_STATUS_INTERNAL_ERROR); goto out; As rc is 0 at that point we'll exit smb2_signing_decrypt_pdu() with NT_STATUS_OK, but without copying the decrypted data back into the callers buffer. Which leads to strange errors in the caller. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14968 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'wscript_configure_system_gnutls')
0 files changed, 0 insertions, 0 deletions