git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a653fd
)
s3: smbd: In filename_split_lcomp() ensure we never return a streamname if posix...
author
Jeremy Allison
<jra@samba.org>
Wed, 27 Jul 2022 23:52:40 +0000
(16:52 -0700)
committer
Volker Lendecke
<vl@samba.org>
Thu, 28 Jul 2022 15:38:38 +0000
(15:38 +0000)
POSIX has no streams, even on the root of a directory.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/filename.c
patch
|
blob
|
history
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index 0f9921b62fac098960e05c2a35ba9a06d4202232..5f90f378482ba04313698a81bb9adc1486265a11 100644
(file)
--- a/
source3/smbd/filename.c
+++ b/
source3/smbd/filename.c
@@
-2410,7
+2410,7
@@
static bool filename_split_lcomp(
return false;
}
- if (
name_in[0] == ':'
) {
+ if (
!posix && (name_in[0] == ':')
) {
/*
* Special case for stream on root directory
*/