git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca17288
)
s3:smbd: '|' isn't allowed in windows filenames
author
Stefan Metzmacher
<metze@samba.org>
Mon, 24 Nov 2008 18:34:50 +0000
(19:34 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 26 Nov 2008 22:02:20 +0000
(23:02 +0100)
metze
source/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source/smbd/reply.c
b/source/smbd/reply.c
index 9538a72e8d840baf10f42595c5c1d7b73903ed3e..e46479c98319abe89933eec8e2997d787d1f06e9 100644
(file)
--- a/
source/smbd/reply.c
+++ b/
source/smbd/reply.c
@@
-121,7
+121,7
@@
static NTSTATUS check_path_syntax_internal(char *path,
if (!(*s & 0x80)) {
if (!posix_path) {
- if (*s <= 0x1f) {
+ if (*s <= 0x1f
|| *s == '|'
) {
return NT_STATUS_OBJECT_NAME_INVALID;
}
switch (*s) {