Changeset 77062 in vbox
- Timestamp:
- Jan 30, 2019 7:57:58 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128508
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r77054 r77062 421 421 } 422 422 # else 423 memcpy(&pReq->Create.StrPath, sf_i->path, sf_i->path->u16Size);423 memcpy(&pReq->Create.StrPath, sf_i->path, SHFLSTRING_HEADER_SIZE + sf_i->path->u16Size); 424 424 vrc = VbglR0SfHostReqCreate(sf_g->map.root, &pReq->Create); 425 425 if (RT_SUCCESS(vrc)) { … … 1003 1003 stat->f_fsid.val[1] = 0; 1004 1004 stat->f_namelen = 255; 1005 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 73)1005 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 36) 1006 1006 stat->f_flags = 0; /* not valid */ 1007 1007 #endif
Note:
See TracChangeset
for help on using the changeset viewer.