1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/smbd
Andreas Schneider 8753d5f456 s3:smbd: Fix possible NULL deref in smbd_do_qfilepathinfo()
Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-12-10 00:30:29 +00:00
..
notifyd notifyd: Fix SIGBUS on sparc 2019-02-22 12:30:10 +01:00
aio.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
avahi_register.c s3-smbd: use fruit:model string for mDNS registration 2019-01-15 21:27:20 +01:00
blocking.c smbd: Use share_mode_watch_send() 2019-11-22 23:57:47 +00:00
close.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
conn_idle.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
conn_msg.c
conn.c s3: VFS: change connection_struct cwd_fname to cwd_fsp 2019-08-16 19:52:32 +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: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
dmapi.c
dnsregister.c
dosmode.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
durable.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
error.c s3:smbd: Fix converity warning with _smb_setlen_large() 2018-05-16 21:30:23 +02:00
fake_file.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
file_access.c
fileio.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
filename.c Spelling fixes s/preceeding/preceding/ 2019-09-01 22:21:28 +00:00
files.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
globals.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
globals.h s3: smbd: Change (*proto_reply_fn()) to return an NTSTATUS. 2019-12-04 20:02:40 +00:00
ipc.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
lanman.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +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 s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +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 smbd: remove unused tevent_context argument from notify_init 2018-06-18 08:59:18 +02:00
notify.c smbd: Only remove locks by mid if necessary 2019-06-20 17:18:16 +00:00
ntquotas.c ntquotas: do not set inode limits when setting space quota 2019-02-17 13:33:12 +01:00
nttrans.c smbd: use put_long_date_full_timespec() 2019-12-06 00:17:36 +00:00
open.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
oplock_linux.c smbd: Use file_id_str_buf() in linux_release_kernel_oplock() 2019-11-12 20:56:34 +00:00
oplock.c smbd: Fix CID 1455912 Logically dead code 2019-11-19 16:13:36 +00:00
password.c smbdotconf: mark "path" with substitution="1" 2019-11-27 10:25:33 +00:00
perfcount.c smbdotconf: mark "perfcount module" with substitution="1" 2019-11-27 10:25:36 +00:00
pipes.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
posix_acls.c s3: smbd: set_nt_acl(). Now we know we always have a valid file handle, always use VFS_FCHOWN. 2019-10-15 18:46:36 +00:00
process.c s3: smbd: Ensure we exit on smbd_smb2_process_negprot() fail. 2019-12-04 20:02:40 +00:00
proto.h s3: add init_smb_file_time() 2019-12-06 00:17:36 +00:00
pysmbd.c s3: pysmbd: Change py_smbd_chown() to use SMB_VFS_FCHOWN() internally. 2019-10-15 18:46:37 +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: Make lp_use_sendfile() static to reply.c 2019-12-08 20:24: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 smbd: Fix use-after-free from exit_server_common() 2019-08-01 15:39:12 +00:00
server_reload.c smbdotconf: mark "next configfile" with substitution="1" 2019-11-27 10:25:34 +00:00
server.c smbd: Call reopen_logs() in the notifyd 2019-12-09 16:10:38 +00:00
service.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +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 lib: Remove #define serverid_equal server_id_equal 2019-11-06 20:36:34 +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 Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_close.c smbd: use put_long_date_full_timespec() 2019-12-06 00:17:36 +00:00
smb2_create.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
smb2_flush.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
smb2_getinfo.c s3: smbd: Plumb through struct smb_request *req parameter so it can be used by smb_query_posix_acl(). 2019-06-24 18:49:09 +00:00
smb2_glue.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c
smb2_ioctl_named_pipe.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
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 Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_keepalive.c
smb2_lock.c smbd: Use share_mode_watch_send() 2019-11-22 23:57:47 +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 s3:smbd: fix max_buffer handling of initial notify requests 2019-03-29 00:35:39 +00:00
smb2_query_directory.c smbd: fix handling of sentinel timestamp values 2019-12-06 00:17:36 +00:00
smb2_read.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
smb2_server.c s3: smbd: Allow smbd_smb2_process_negprot() to return NTSTATUS as it can fail. 2019-12-04 20:02:40 +00:00
smb2_sesssetup.c s3:smbd: Use GnuTLS for AES constants 2019-08-21 09:57:32 +00:00
smb2_setinfo.c smbd: Use share_mode_watch_send() 2019-11-22 23:57:47 +00:00
smb2_tcon.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +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
smbXsrv_client.c smbd: Use direct struct assignments in smbXsrv_*.c 2019-09-17 22:49:35 +00:00
smbXsrv_open.c smbd: Remove unused smbXsrv_open_hash() 2019-09-17 22:49:35 +00:00
smbXsrv_session.c smbd: Use direct struct assignments in smbXsrv_*.c 2019-09-17 22:49:35 +00:00
smbXsrv_tcon.c smbd: Use direct struct assignments in smbXsrv_*.c 2019-09-17 22:49:35 +00:00
smbXsrv_version.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
srvstr.c
statcache.c s3: Don't copy back the stat struct from stat_cache_lookup if we did not get a hit on the full path. 2018-09-19 17:52:13 +02:00
statvfs.c statvfs: rename linux_statvfs to posix_statvfs 2019-01-11 02:53:57 +01:00
trans2.c s3:smbd: Fix possible NULL deref in smbd_do_qfilepathinfo() 2019-12-10 00:30:29 +00:00
uid.c smbdotconf: mark "force group" with substitution="1" 2019-11-27 10:25:33 +00:00
utmp.c s3/smbd: fix utmp hostname logging on Solaris 2019-01-10 22:46:11 +01:00
vfs.c s3: add init_smb_file_time() 2019-12-06 00:17:36 +00:00