1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/auth
Noel Power a8e10a1249 Decrement references to python objects passed to Py_BuildValue
Py_BuildValue when processing format 'O' will
  'Pass a Python object untouched (except for its reference count,
   which is incremented by one'

Basically this means if you are using a new reference to a PyObject
to pass to BuildValue (to be used with the 'O' format) the reference
*isn't* stolen so you really do need to DECREF it in order to ensure
it gets cleaned up.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-02-07 13:44:30 +01:00
..
credentials Decrement references to python objects passed to Py_BuildValue 2019-02-07 13:44:30 +01:00
gensec auth:gensec: Use C99 initializer in schannel 2019-01-28 10:29:21 +01:00
kerberos auth/kerberos: Fix typo in error message regarding fetching PAC using Heimdal 2018-03-19 07:33:44 +01:00
ntlmssp auth: Use the zlib version of crc32 2018-10-09 22:32:12 +02:00
auth_log.c auth log: Increment Authentication version 2018-12-14 18:57:52 +01:00
auth_sam_reply.c auth: add auth_user_info_copy() function 2018-03-15 21:54:17 +01:00
auth_sam_reply.h auth: add auth_user_info_copy() function 2018-03-15 21:54:17 +01:00
auth_util.c auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00
auth_util.h auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00
common_auth.h auth: For NTLM and KDC authentication, log the authentication duration 2018-06-25 08:32:14 +02:00
wbc_auth_util.c auth/wbc_auth_util: change wbcAuthUserInfo_to_netr_SamInfo* from level 3 to 6 2016-06-30 03:30:26 +02:00
wscript_build auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00