1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/auth
Joseph Sutton 6818d20489 pygensec: Don't modify Python bytes objects
gensec_update() and gensec_unwrap() can both modify their input buffers
(for example, during the inplace RRC operation on GSSAPI tokens).
However, buffers obtained from Python bytes objects must not be modified
in any way. Create a copy of the input buffer so the original isn't
modified.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2021-08-18 22:28:33 +00:00
..
gensec pygensec: Don't modify Python bytes objects 2021-08-18 22:28:33 +00:00
kerberos auth:creds: Remove unused credentials autoproto header 2020-08-19 16:22:40 +00:00
ntlm auth4: Remove unused auth_unix 2021-04-19 07:07:01 +00:00
tests auth:creds: Remove unused credentials autoproto header 2020-08-19 16:22:40 +00:00
auth.h auth4: Remove sync check_password from auth_operations 2021-04-16 09:38:35 +00:00
pyauth.c pyauth: add python binding for auth_session_info_set_unix() 2020-06-05 10:32:31 +00:00
pyauth.h pytalloc: Use consistent prefix for functions, add ABI file. 2011-08-10 15:36:21 +02:00
sam.c s4/auth/sam: silence CID 1435849 2019-05-09 22:39:27 +00:00
samba_server_gensec.c s4:auth: use talloc_reparent() in samba_server_gensec_krb5_start() 2017-05-30 08:06:07 +02:00
session.c s4:auth: Check return code of cli_credentials_set_conf() 2021-06-29 02:19:35 +00:00
session.h
system_session.c s4:auth: Check return code of cli_credentials_set_conf() 2021-06-29 02:19:35 +00:00
unix_token.c s4-auth/unix_token: add new function auth_session_info_set_unix() 2020-06-05 10:32:31 +00:00
wscript_build build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00
wscript_configure s4:auth/gensec: remove unused and untested cyrus_sasl module 2015-06-23 22:12:08 +02:00