1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/libcli
Stefan Metzmacher fe8bf1d8aa libcli/smb: let smb2_signing_decrypt_pdu() cope with gnutls_aead_cipher_decrypt() ptext_len bug
The initial implementation of gnutls_aead_cipher_decrypt() had a bug and
used:
    *ptext_len = ctext_len;
instead of:
    *ptext_len = ctext_len - tag_size;

This got fixed with gnutls 3.5.2.

As we only require gnutls 3.4.7 we need to cope with this...

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>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Feb  2 18:29:08 UTC 2022 on sn-devel-184

(cherry picked from commit 735f3d7dde)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Sun Feb 13 10:18:29 UTC 2022 on sn-devel-184
2022-02-13 10:18:29 +00:00
..
auth libcli/auth: let NTLMv2_RESPONSE_verify_netlogon_creds ignore invalid netapp requests 2022-01-04 20:07:28 +00:00
cldap CVE-2020-10704: libcli ldap_message: Add search size limits to ldap_decode 2020-05-04 02:59:32 +00:00
dns libcli/dns: Fix TCP fallback 2022-01-20 18:01:41 +00:00
drsuapi tests: Fix "-Werror=maybe-uninitialized" errors only seen with -O3 and --enable-coverage 2021-04-28 03:43:34 +00:00
echo s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
http http_conn.c: fix "void function cannot return value" error 2020-11-10 06:53:42 +00:00
ldap libcli: Use GUID_to_ndr_buf() in ldap_encode_ndr_GUID() 2020-10-02 21:30:33 +00:00
lsarpc libcli/lsarpc: add struct trustAuthInOutBlob; forward declaration 2014-04-02 09:03:42 +02:00
named_pipe_auth lib: Remove unused tstream_npa_socketpair() 2022-01-18 20:22:38 +00:00
nbt nmblookup: don't ignore unknown options 2021-09-10 15:10:30 +00:00
netlogon CVE-2020-25717: Add FreeIPA domain controller role 2021-11-09 19:45:33 +00:00
registry build: Make util_reg subsystem in libcli/registry a library 2011-05-18 16:12:08 +02:00
samsync smbdes: convert sam_rid_crypt() to use gnutls 2019-12-10 00:30:30 +00:00
security libcli: Simplify get_sec_mask_str() 2021-10-08 19:28:32 +00:00
smb libcli/smb: let smb2_signing_decrypt_pdu() cope with gnutls_aead_cipher_decrypt() ptext_len bug 2022-02-13 10:18:29 +00:00
smbreadline libcli:smbreadline: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:22 +01:00
util libcli: Remove NT_STATUS_INACCESSIBLE_SYSTEM_SHORTCUT error code 2021-11-11 19:08:37 +00:00