1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/smbd
Andreas Schneider ccf1c2227e s3:smbd: Fix a possibile null pointer dereference
Found by clang.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
2020-06-16 09:08:34 +00:00
..
notifyd s3:notifyd: Check return value of lp_load_initial_only() 2020-06-16 09:08:34 +00:00
aio.c smbd: add vfs_valid_{pread,pwrite}_range() checks where needed 2020-05-12 19:53:44 +00:00
avahi_register.c
blocking.c smbd: move files_struct.lock_failure_seen to a bitfield 2020-04-03 20:41:34 +00:00
close.c smbd: avoid become_user_without_service() in close_directory() 2020-05-30 01:17:36 +00:00
conn_idle.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
conn_msg.c smbd: Add close-denied-share message 2020-01-15 21:25:35 +00:00
conn.c smbd: RIP conn->origpath 2020-05-30 01:17:36 +00:00
connection.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
dfree.c smbdotconf: mark "dfree command" with substitution="1" 2019-11-27 10:25:32 +00:00
dir.c smbd: rename open_internal_dirfsp_at() to open_internal_dirfsp() 2020-05-21 05:23:30 +00:00
dmapi.c
dnsregister.c
dosmode.c smbd: don't free smb_fname_parent in unix_mode() 2020-05-29 20:02:55 +00:00
durable.c smbd: prepare DH disconnect for AT-names 2020-05-21 22:01:25 +00:00
error.c
fake_file.c s3: smbd: Add a dirfsp parameter to smbd_calculate_access_mask(). 2020-05-04 13:55:34 +00:00
file_access.c s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in directory_has_default_acl(). 2020-05-07 19:27:36 +00:00
fileio.c smbd: add vfs_valid_{pread,pwrite}_range() checks where needed 2020-05-12 19:53:44 +00:00
filename.c smbd: Apply a bit of README.Coding to unix_convert() 2020-06-15 17:59:39 +00:00
files.c smbd: remove redundant conn arg from fd_open() 2020-05-21 05:23:32 +00:00
globals.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
globals.h smbXsrv_session: add a smbXsrv_session_disconnect_xconn() helper 2020-05-15 09:04:36 +00:00
ipc.c
lanman.c smbd: use smbXsrv_session_info_lookup() in api_reply() 2020-01-13 19:41:35 +00:00
mangle_hash2.c smbd: Save 520 bytes of writable memory from every smbd 2019-10-23 02:37:12 +00:00
mangle_hash.c
mangle.c smbdotconf: mark "mangling method" with constant="1" 2019-11-27 10:25:37 +00:00
message.c smbdotconf: mark "message command" with substitution="1" 2019-11-27 10:25:35 +00:00
msdfs.c smbd: RIP conn->origpath 2020-05-30 01:17:36 +00:00
negprot.c smbd: use put_long_date_full_timespec() 2019-12-06 00:17:36 +00:00
notify_fam.c
notify_inotify.c
notify_msg.c
notify.c smbd: Only remove locks by mid if necessary 2019-06-20 17:18:16 +00:00
ntquotas.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
nttrans.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
open.c s3:smbd: Fix a possibile null pointer dereference 2020-06-16 09:08:34 +00:00
oplock_linux.c smbd: Remove unused define 2020-01-21 22:08:41 +00:00
oplock.c smbd: Use explicit share_mode_wakeup_waiters() 2019-12-16 19:02:32 +00:00
password.c smbd: RIP user_struct 2020-01-13 21:09:01 +00:00
perfcount.c smbdotconf: mark "perfcount module" with substitution="1" 2019-11-27 10:25:36 +00:00
pipes.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
posix_acls.c smbd: simplify uid_entry_in_group() 2020-05-30 02:40:22 +00:00
process.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
proto.h smbd: add fd_openat() 2020-05-21 20:38:35 +00:00
pysmbd.c pysmbd: make sure that session unix info is filled 2020-06-05 11:54:06 +00:00
quotas.c quotas: Check group quota for directory when SGID is set 2019-08-14 16:27:43 +00:00
reply.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
scavenger.c smbd: Call reopen_logs() in the smbd scavenger 2019-12-09 16:10:38 +00:00
scavenger.h
seal.c
sec_ctx.c
server_exit.c s3:smbd: split out smbXsrv_connection_disconnect_transport() 2020-05-15 09:04:36 +00:00
server_reload.c smbdotconf: mark "next configfile" with substitution="1" 2019-11-27 10:25:34 +00:00
server.c s3:rpc_server: Reinitialize dcesrv_context in external spoolssd daemon 2020-03-20 15:36:32 +00:00
service.c smbd: RIP conn->origpath 2020-05-30 01:17:36 +00:00
session.c s3:smbd: fix SAFE_FREE() vs. TALLOC_FREE() in list_sessions() 2019-03-28 23:09:33 +00:00
sesssetup.c smbd: remove sub_set_smb_name()/reload_services() 2020-02-06 10:17:43 +00:00
share_access.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
signing.c s3:smbd: Return NTSTATUS for srv_calculate_sign_mac() 2019-05-21 00:03:22 +00:00
smb1_utils.c smbd: Remove "share_access" from fcb_or_dos_open() 2019-08-06 21:49:29 +00:00
smb1_utils.h smbd: Remove "share_access" from fcb_or_dos_open() 2019-08-06 21:49:29 +00:00
smb2_break.c
smb2_close.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
smb2_create.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
smb2_flush.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_getinfo.c smbd: Protect smbd_smb2_getinfo_send() against invalid quota files 2020-05-29 09:55:10 +00:00
smb2_glue.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c smbd: move files_struct.is_sparse to a bitfield 2020-04-03 19:05:44 +00:00
smb2_ioctl_named_pipe.c
smb2_ioctl_network_fs.c smb2_ioctl_network_fs: remove unused fsctl_srv_copychunk_state->aapl_copyfile 2019-03-28 23:09:34 +00:00
smb2_ioctl_private.h
smb2_ioctl.c
smb2_keepalive.c
smb2_lock.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
smb2_negprot.c s3: smbd: Change (*proto_reply_fn()) to return an NTSTATUS. 2019-12-04 20:02:40 +00:00
smb2_notify.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_query_directory.c smbd: remove redundant conn arg from fd_open() 2020-05-21 05:23:32 +00:00
smb2_read.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_server.c smb2_server: do async shutdown for pending multi-channel requests 2020-05-15 10:26:29 +00:00
smb2_sesssetup.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
smb2_setinfo.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smb2_tcon.c s3:smb2_tcon: pass down in_flags to smbd_smb2_tree_connect_send() 2020-02-26 21:11:59 +00:00
smb2_write.c s3:smb2_write: add missing initialization of state->in_offset 2019-03-28 23:09:33 +00:00
smbd_cleanupd.c smbd: Remove unused brlock code 2019-06-20 17:18:19 +00:00
smbd_cleanupd.h
smbd.h smbd: remove struct privilege_paths 2020-03-31 19:32:11 +00:00
smbXsrv_client.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
smbXsrv_open.c smbd: Remove unused smbXsrv_open_hash() 2019-09-17 22:49:35 +00:00
smbXsrv_session.c smbXsrv_session: add a smbXsrv_session_disconnect_xconn() helper 2020-05-15 09:04:36 +00:00
smbXsrv_tcon.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smbXsrv_version.c
srvstr.c
statcache.c smbd: strip @GMT token in canonicalize_snapshot_path() 2020-05-05 19:18:43 +00:00
statvfs.c
trans2.c smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
uid.c smbd: setting current_user stuff here is redundant 2020-02-06 10:17:42 +00:00
utmp.c
vfs.c smbd: Reduce indentation in check_reduced_name() 2020-06-15 17:59:39 +00:00