1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/auth/credentials
Aurelien Aptel 669d2152cb auth: fix mem leak & use appropriate free function
coverity fix.

cli_credentials_set_principal does a strdup, we want to free 'name'
regardless of the result in 'ok'.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-02-01 01:26:12 +01:00
..
tests credentials test: Use samba.tests.subunitrun. 2014-11-22 02:23:10 +01:00
credentials_internal.h auth/credentials: add cli_credentials_set_password_will_be_nt_hash() and the related logic 2016-12-20 01:11:23 +01:00
credentials_krb5.c auth: fix mem leak & use appropriate free function 2017-02-01 01:26:12 +01:00
credentials_krb5.h auth/credentials: also do a shallow copy of the krb5_ccache. 2016-07-22 23:34:20 +02:00
credentials_ntlm.c auth/credentials: add cli_credentials_set_password_will_be_nt_hash() and the related logic 2016-12-20 01:11:23 +01:00
credentials_secrets.c credentials: Fix a typo 2016-02-16 10:50:10 +01:00
credentials.c auth/credentials: remove const where we always return a talloc string 2017-01-10 13:54:17 +01:00
credentials.h auth/credentials: remove const where we always return a talloc string 2017-01-10 13:54:17 +01:00
pycredentials.c auth/credentials: add python bindings for enum credentials_obtained 2016-12-20 01:11:24 +01:00
pycredentials.h pycredentials: Remove PyCredentialCacheContainerObject 2016-03-08 01:58:29 +01:00
samba-credentials.pc.in auth: move credentials layer to the top level 2011-10-11 13:41:36 +11:00
wscript_build wscript: remove executable bits for all wscript* files 2017-01-11 20:21:01 +01:00