mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
bbd4cd045a
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>
(cherry picked from commit
|
||
---|---|---|
.. | ||
auth | ||
cldap | ||
dns | ||
drsuapi | ||
echo | ||
http | ||
ldap | ||
lsarpc | ||
named_pipe_auth | ||
nbt | ||
netlogon | ||
registry | ||
samsync | ||
security | ||
smb | ||
smbreadline | ||
util |