mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
a843e74b85
So we make sure the dirfsp contains an absolute path to begin with and smb_fname is a relative name within the directory. Note: dirfsp->fsp_name->base_name[0] is only '/' because currently all callers pass conn->cwd_fsp as dirfsp ... though there's already one caller that calls fd_openat() with a real dirfsp, that is in vfs_fruit though on the resource fork stream so doesn't really effect us currently. If more callers are changed in future the situation may change, but I guess then this is not the only place with potential problems. We most likely need a generic helper function that returns the absolute path of a dirfsp and use it here. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> |
||
---|---|---|
.. | ||
auth | ||
build | ||
client | ||
exports | ||
groupdb | ||
include | ||
intl | ||
lib | ||
libads | ||
libgpo/gpext | ||
libnet | ||
librpc | ||
libsmb | ||
locale | ||
locking | ||
modules | ||
nmbd | ||
param | ||
passdb | ||
printing | ||
profile | ||
registry | ||
rpc_client | ||
rpc_server | ||
rpcclient | ||
script | ||
selftest | ||
services | ||
smbd | ||
torture | ||
utils | ||
web | ||
winbindd | ||
.clang_complete | ||
.dmallocrc | ||
.indent.pro | ||
Doxyfile | ||
mainpage.dox | ||
smbadduser.in | ||
wscript | ||
wscript_build | ||
wscript_configure_system_ncurses |