summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-01 13:01:09 -0800
committerJeremy Allison <jra@samba.org>2008-12-01 13:01:09 -0800
commit49a8bd5e14fdb78197fc821fca72f0ba201f5f39 (patch)
tree97a2d12166a41d779b7ca5bcb8be47be2995257c /source3
parent24fec0a8d727a51ffe214af5ee62bb7a730ce539 (diff)
downloadsamba-49a8bd5e14fdb78197fc821fca72f0ba201f5f39.tar.gz
samba-49a8bd5e14fdb78197fc821fca72f0ba201f5f39.tar.bz2
samba-49a8bd5e14fdb78197fc821fca72f0ba201f5f39.zip
s3:smbd: '|' isn't allowed in windows filenames
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 1f99db2de4..d23f9c106e 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -119,7 +119,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) {