Changeset 860 for vendor/current/source3/smbd/nttrans.c
- Timestamp:
- May 12, 2014, 8:58:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/nttrans.c
r746 r860 537 537 req->flags2 & FLAGS2_DFS_PATHNAMES, 538 538 fname, 539 0, 539 (create_disposition == FILE_CREATE) 540 ? UCF_CREATING_FILE : 0, 540 541 NULL, 541 542 &smb_fname); … … 886 887 /* Ensure we have at least one thing set. */ 887 888 if ((security_info_sent & (SECINFO_OWNER|SECINFO_GROUP|SECINFO_DACL|SECINFO_SACL)) == 0) { 888 if (security_info_sent & SECINFO_LABEL) { 889 /* Only consider SECINFO_LABEL if no other 890 bits are set. Just like W2K3 we don't 891 store this. */ 892 return NT_STATUS_OK; 893 } 894 return NT_STATUS_INVALID_PARAMETER; 889 /* Just like W2K3 */ 890 return NT_STATUS_OK; 895 891 } 896 892 … … 990 986 break; 991 987 } 988 989 /* Integer wrap protection for the increment. */ 990 if (offset + next_offset < offset) { 991 break; 992 } 993 992 994 offset += next_offset; 995 996 /* Integer wrap protection for while loop. */ 997 if (offset + 4 < offset) { 998 break; 999 } 1000 993 1001 } 994 1002 … … 1159 1167 req->flags2 & FLAGS2_DFS_PATHNAMES, 1160 1168 fname, 1161 0, 1169 (create_disposition == FILE_CREATE) 1170 ? UCF_CREATING_FILE : 0, 1162 1171 NULL, 1163 1172 &smb_fname);
Note:
See TracChangeset
for help on using the changeset viewer.