Changeset 920 for trunk/server/source3/smbd
- Timestamp:
- Jun 9, 2016, 2:23:12 PM (9 years ago)
- Location:
- trunk/server
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 919
- Property svn:mergeinfo changed
-
trunk/server/source3/smbd/conn.c
r862 r920 24 24 #include "smbd/globals.h" 25 25 #include "rpc_server/rpc_ncacn_np.h" 26 #include "lib/util/bitmap.h" 26 27 27 28 /* The connections bitmap is expanded in increments of BITMAP_BLOCK_SZ. The -
trunk/server/source3/smbd/dir.c
r862 r920 24 24 #include "smbd/globals.h" 25 25 #include "libcli/security/security.h" 26 #include "lib/util/bitmap.h" 26 27 27 28 /* -
trunk/server/source3/smbd/files.c
r918 r920 23 23 #include "libcli/security/security.h" 24 24 #include "util_tdb.h" 25 #include "lib/util/bitmap.h" 25 26 26 27 #define VALID_FNUM(fnum) (((fnum) >= 0) && ((fnum) < real_max_open_files)) -
trunk/server/source3/smbd/smb2_server.c
r862 r920 27 27 #include "../lib/util/tevent_ntstatus.h" 28 28 #include "smbprofile.h" 29 #include "../lib/util/bitmap.h" 29 30 30 31 #define OUTVEC_ALLOC_SIZE (SMB2_HDR_BODY + 9) -
trunk/server/source3/smbd/vfs.c
r918 r920 991 991 const char *conn_rootdir; 992 992 size_t rootdir_len; 993 bool matched; 993 994 994 995 conn_rootdir = SMB_VFS_CONNECTPATH(conn, fname); … … 1001 1002 1002 1003 rootdir_len = strlen(conn_rootdir); 1003 if (strncmp(conn_rootdir, resolved_name, 1004 rootdir_len) != 0) { 1004 matched = (strncmp(conn_rootdir, resolved_name, 1005 rootdir_len) == 0); 1006 if (!matched || (resolved_name[rootdir_len] != '/' && 1007 resolved_name[rootdir_len] != '\0')) { 1005 1008 DEBUG(2, ("check_reduced_name: Bad access " 1006 1009 "attempt: %s is a symlink outside the "
Note:
See TracChangeset
for help on using the changeset viewer.