1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib
Ralph Boehme e311801e0e lib: smb_threads: fix access before init bug
talloc_stackframe_internal() calls SMB_THREAD_GET_TLS(global_ts)  which
calls smb_get_tls_pthread() in the POSIX pthread wrapper implementation.

If SMB_THREAD_SET_TLS() hasn't been called before, global_ts is NULL and
smb_get_tls_pthread dereferences it so it crashes.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13505

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2018-07-04 21:07:09 +02:00
..
addns addns: Fix a typo 2018-06-16 04:21:17 +02:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib/async_req/async_sock.c set socket close on exec 2017-12-18 04:38:19 +01:00
audit_logging audit_logging: Remove duplciate error printing 2018-06-26 03:27:20 +02:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto lib/crypto: avoid 'return void_function();' which isn't portable 2018-04-03 16:41:09 +02:00
dbwrap Convert affected by previous commit lines from DEBUG(10,..) to DBG_DEBUG(). 2018-05-16 21:29:24 +02:00
krb5_wrap krb5_wrap: fix keep_old_entries logic for older kerberos libraries 2018-06-23 00:57:47 +02:00
ldb check return value before using key_values 2018-06-23 02:00:28 +02:00
ldb-samba dsdb: add defines for sessionInfo and networkSessionInfo 2018-06-09 15:02:11 +02:00
param samba_gpoupdate: Rename the command to samba-gpupdate 2018-07-04 10:22:15 +02:00
pthreadpool pthreadpool: Fix deadlock 2017-12-13 04:46:12 +01:00
replace build: bundle and reduce huge number of EA function tests 2018-07-03 13:24:51 +02:00
smbconf Correct "occured" typos. 2017-02-22 08:26:21 +01:00
socket lib:socket: Return early if we have only one interface 2018-03-20 23:16:16 +01:00
talloc talloc: Fix some typos in the comments 2018-05-28 16:16:17 +02:00
tdb tdb: Fix build on AIX 2018-07-02 08:51:21 +02:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent lib/tevent: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
texpect lib:texpect: Avoid some compiler warnings 2018-03-01 04:37:41 +01:00
torture selftest: consistently produce high-res UTC time 2018-03-22 13:26:44 +01:00
tsocket tsocket: Fix typos 2018-01-04 00:37:20 +01:00
util lib: smb_threads: fix access before init bug 2018-07-04 21:07:09 +02:00
README build: Move nss_wrapper to third_party 2017-11-25 10:14:13 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
dnspython - Python module for working with DNS.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library