1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/script
Andrew Bartlett 82c0ecbb2c gse_krb5: Avoid a segfault when we can not read the dedicated keytab file
This improved code simply cleans up the memory as soon as possible,
rather than using memcmp().  Otherwise, we segfault if
krb5_kt_start_seq_get fails, as it can set the fd element in the
handle to -1.

Change-Id: Ib4821ef944a7e12cd8a891ae07dbfc0567c65495
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Nov 27 07:38:02 CET 2014 on sn-devel-104
2014-11-27 07:38:02 +01:00
..
tests gse_krb5: Avoid a segfault when we can not read the dedicated keytab file 2014-11-27 07:38:02 +01:00
build_env.sh
count_80_col.pl
creategroup
findsmb.in
fix_bool.pl
format_indent.sh
makeunicodecasemap.awk
mknissmbpasswd.sh
mknissmbpwdtbl.sh
mksmbpasswd.sh
mksyms.awk
mksyms.sh
scancvslog.pl
smbtar
strip_trail_ws.pl
updatesmbpasswd.sh
wscript_build build: Install smbtar in waf build 2013-05-27 12:55:04 +02:00