1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3
Christof Schmitt 1b6aa39fac vfs_streams_xattr: Fix segfault when running with log level 10
This happens when vfs_streams_xattr is loaded, log level is set to 10
and the default stream of a file or directory is accessed. In that case
streams_xattr_open does not allocate the stream_io fsp extension. The
DBG_DEBUG message in streams_xattr_fstat tries to access the stream_io
before checking for a NULL value, resulting in the crash. Fix this by
moving the debug message after the check for a NULL pointer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13032

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Sep 14 10:58:12 CEST 2017 on sn-devel-144
2017-09-14 10:58:12 +02:00
..
auth auth/common: add support for auth4_ctx->check_ntlm_password_send/recv() 2017-08-07 15:20:03 +02:00
build
client s3:smbclient: don't try any workgroup listing with "client min protocol = SMB2" 2017-08-19 01:41:24 +02:00
exports
groupdb Correct "errror" typos. 2017-02-22 08:26:22 +01:00
include s3:libsmb: Move prototye of remote_password_change() 2017-08-23 13:16:20 +02:00
intl lib: Give util_paths.c its own header 2017-06-24 01:21:10 +02:00
lib s3-lib: Fix error mapping for EROFS 2017-09-08 02:33:14 +02:00
libads s3:libads: Fix changing passwords with Kerberos 2017-08-11 18:21:22 +02:00
libgpo s3-gpo: Fix CID #1405972 Resource leak 2017-05-09 23:20:08 +02:00
libnet s3:libnet: make use of secrets_store_JoinCtx() 2017-06-27 16:57:46 +02:00
librpc s3:gse_krb5: make use of precalculated krb5 keys in fill_mem_keytab_from_secrets() 2017-08-18 10:04:56 +02:00
libsmb s3:libsmb: Print the kinit failed message with DBGLVL_NOTICE 2017-08-24 17:22:18 +02:00
locale Correct "descriptior" typos. 2017-02-22 08:26:22 +01:00
locking s3/vfs: rename SMB_VFS_STRICT_LOCK to SMB_VFS_STRICT_LOCK_CHECK 2017-07-11 03:37:44 +02:00
modules vfs_streams_xattr: Fix segfault when running with log level 10 2017-09-14 10:58:12 +02:00
nmbd Correct "errror" typos. 2017-02-22 08:26:22 +01:00
param param: Add 'binddns dir' parameter 2017-09-05 23:58:20 +02:00
passdb s3:secrets: allow secrets_fetch_or_upgrade_domain_info() on an AD DC 2017-08-18 06:07:12 +02:00
printing s3:printing: Add NULL check for state_path() 2017-08-19 05:33:41 +02:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
rpc_client s3: rpc_client: Allocate struct db_context * off the local frame, as all other variables in this function. 2017-07-26 21:35:22 +02:00
rpc_server s3/mdssvc: missing assignment in sl_pack_float 2017-08-29 01:00:34 +02:00
rpcclient s3: clients: Use netlogon_creds_cli_close_global_db() in all normal exit paths. 2017-07-26 21:35:22 +02:00
script tests/fake_snap: sanitize paths 2017-08-29 04:54:50 +02:00
selftest selftest: run smb2.notify-inotify testsuite against fileserver 2017-08-26 01:15:09 +02:00
services Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
smbd s3/smbd: sticky write time offset miscalculation causes broken timestamps 2017-09-12 02:45:46 +02:00
torture idmap: remove unused function idmap_is_online() 2017-08-04 14:08:37 +02:00
utils s3:utils: Remove pointless if-clause for remote_machine 2017-08-23 13:16:20 +02:00
web
winbindd winbind: Rename winbindd_cm_conn->netlogon_creds to _ctx 2017-08-30 22:44:45 +02:00
.clang_complete lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript configure: Centralize check for posix_fallocate 2017-08-24 01:46:08 +02:00
wscript_build acl_common: Avoid "#include vfs_acl_common.c" 2017-08-24 01:46:07 +02:00
wscript_configure_system_ncurses Transition to waf 1.8: wrapped conf.check_cfg 2015-03-16 03:00:07 +01:00