From: Stefan Metzmacher Date: Mon, 1 Dec 2008 21:01:09 +0000 (-0800) Subject: s3:smbd: '|' isn't allowed in windows filenames X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=commitdiff_plain;h=49a8bd5e14fdb78197fc821fca72f0ba201f5f39 s3:smbd: '|' isn't allowed in windows filenames metze --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 1f99db2de46..d23f9c106e3 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) {