1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/smbd
Jeremy Allison 056f24ce24 Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
The end_data argument to smbd_dirptr_lanman2_entry() must include
the safety margin, as internally it's actually used to allow detection
of string name pushes that were truncated. Ensure space_remaining can
never go negative due to padding.

Jeremy.
2010-05-13 15:59:09 -07:00
..
aio.c This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. 2010-05-07 06:20:50 -07:00
avahi_register.c Use avahi to register _smb._tcp in smbd 2009-03-23 17:09:53 +01:00
blocking.c This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. 2010-05-07 06:20:50 -07:00
change_trust_pw.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
chgpasswd.c s3: Fix a cut&paste error in a debug message in check_oem_password() 2010-04-23 07:07:04 +02:00
close.c Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-). 2010-05-07 01:20:26 -07:00
conn.c When tearing down the connection make sure we close all files before 2010-05-07 06:54:16 -07:00
connection.c s3: Remove unused "mypid" from count_current_connections() state 2010-03-01 12:18:12 +01:00
dfree.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
dir.c s3: Simplify (bool != True) to !bool 2010-04-24 10:50:12 +02:00
dmapi.c s3:smbd: fix the build with dmapi support 2009-01-08 16:24:28 +01:00
dnsregister.c s3:smbd: make mdns registration event driven. 2009-01-27 15:28:11 +01:00
dosmode.c Add debug to make it clear when EA dosmode set is invoked. 2010-02-01 19:21:35 -08:00
error.c Rename reply_doserror() -> reply_force_doserror(). 2009-12-21 11:16:38 -08:00
fake_file.c Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown when logged as root.. Doh ! 2010-02-01 15:57:16 -08:00
file_access.c Switch over to using get_currect_XXX() accessor functions. 2010-03-15 14:49:15 -07:00
fileio.c smbd: move printfile_offset() within write_file() 2010-04-30 11:52:39 -07:00
filename_util.c s3: Remove debug_ctx() 2009-11-03 11:30:00 +01:00
filename.c Fix bug #7339 - MSDFS is non-functional in 3.5.x 2010-04-08 20:32:36 -07:00
files.c s3-smbd: group print relate data in own structure 2010-04-23 14:26:33 -07:00
globals.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
globals.h Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
ipc.c Fix bug #7122 - Reading a large browselist fails (server returns invalid values in subsequent SMBtrans replies) 2010-02-09 15:14:38 -08:00
lanman.c s3-lanman: use samr for api_SamOEMChangePassword(). 2010-05-12 00:22:02 +02:00
mangle_hash2.c Make us pass SHORTNAME-TEST. 2009-05-14 16:49:18 -07:00
mangle_hash.c Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised value(s) error when "mangling method = hash" 2010-02-18 12:21:10 -08:00
mangle.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
map_username.c s3: Cache the username map in gencache 2010-04-13 09:30:06 +02:00
message.c s3: Protect against an invalid bcc in SMBsendtxt 2010-01-17 17:26:39 +01:00
msdfs.c Fix bug #7339 - MSDFS is non-functional in 3.5.x 2010-04-08 20:32:36 -07:00
negprot.c s3: Fix a long-standing problem with recycled PIDs 2010-03-10 16:07:10 +01:00
noquotas.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
notify_inotify.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
notify_internal.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
notify.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
ntquotas.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
nttrans.c Carefully label SMB1-specific locking calls. 2010-04-29 17:08:12 -07:00
open.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
oplock_irix.c s3: Change fsp->fsp_name to be an smb_filename struct! 2009-07-20 17:26:56 -07:00
oplock_linux.c Hopefully last part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks. 2009-09-03 07:40:48 -07:00
oplock_onefs.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
oplock.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
password.c s3: Remove the typedef for "auth_serversupplied_info" 2010-01-10 20:56:16 +01:00
perfcount.c S3: Dumb down debug spew in perfcount module code 2009-02-19 00:01:41 -08:00
pipes.c s3:smbd: make fsp->fake_file_handle a talloc child of fsp 2010-04-28 15:46:58 +02:00
posix_acls.c Fix valgrind warning when source and dest stat are identical. 2010-03-24 10:33:09 -07:00
process.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
quotas.c s3: Fix a very embarrassing build failure 2009-12-12 16:57:49 +01:00
reply.c This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. 2010-05-07 06:20:50 -07:00
seal.c s3:ntlmssp: only include ntlmssp.h where actually needed 2009-12-22 21:07:53 +01:00
sec_ctx.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
server.c s3:smbd Remove calls to namecache_enable() 2010-05-13 10:12:26 +10:00
service.c Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined. 2010-03-25 17:09:23 -07:00
session.c s3: Abstract access to sessionid.tdb, similar to conn_tdb.c 2010-03-01 17:53:22 +01:00
sesssetup.c s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA 2010-05-11 22:52:37 +02:00
share_access.c Fix coverity CID: 932 - forward null. 2009-08-21 16:17:17 -07:00
signing.c s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there 2010-03-29 07:26:00 +02:00
smb2_break.c Pass more SMB2 oplock tests. Only oplock stream tests left to fix. 2010-05-12 15:19:45 -07:00
smb2_close.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_create.c Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test. 2010-05-11 14:00:38 -07:00
smb2_find.c Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values. 2010-05-13 15:59:09 -07:00
smb2_flush.c s3:smbd: implement SMB2 Cancel correctly. 2009-08-17 09:25:45 +02:00
smb2_getinfo.c Update (C) for 2010. 2010-04-28 14:56:12 -07:00
smb2_glue.c Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2. 2010-04-22 23:52:19 -07:00
smb2_ioctl.c Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs. 2010-04-27 17:09:40 -07:00
smb2_keepalive.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_lock.c Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test. 2010-05-10 11:29:34 -07:00
smb2_negprot.c Parameterize "smb2 max read", "smb2 max write", "smb2 max trans". 2010-04-06 15:43:35 -07:00
smb2_notify.c Update (C) for 2010. 2010-04-28 14:56:12 -07:00
smb2_read.c Only MULTIPLE-UNLOCK test left to fix ! 2010-05-07 07:25:13 -07:00
smb2_server.c Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-). 2010-05-07 01:20:26 -07:00
smb2_sesssetup.c SMB2 always have level2 oplock capability. Correct mapping from break messages to SMB2 oplock levels. 2010-05-10 14:23:44 -07:00
smb2_setinfo.c Update (C) for 2010. 2010-04-28 14:56:12 -07:00
smb2_signing.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_tcon.c When tearing down the connection make sure we close all files before 2010-05-07 06:54:16 -07:00
smb2_write.c Only MULTIPLE-UNLOCK test left to fix ! 2010-05-07 07:25:13 -07:00
srvstr.c Solve some of the conflict between Samba3 and Samba4 push_string 2009-04-14 12:11:00 +10:00
statcache.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
statvfs.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
trans2.c Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values. 2010-05-13 15:59:09 -07:00
uid.c Remove the bool admin_user from conn struct. We no longer look at this to make access decisions. 2010-03-15 15:39:41 -07:00
utmp.c s3:smbd: make globals in utmp.c static const 2009-01-08 12:22:18 +01:00
vfs.c s3: Fix typos in a debug message in vfs_init_custom 2010-03-28 15:25:14 +02:00