git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24fec0a
)
s3:smbd: '|' isn't allowed in windows filenames
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Dec 2008 21:01:09 +0000
(13:01 -0800)
committer
Jeremy Allison
<jra@samba.org>
Mon, 1 Dec 2008 21:01:09 +0000
(13:01 -0800)
metze
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 1f99db2de46f2e9d699d5b7ac754f4a1554307b5..d23f9c106e38b9b2c266965b63e05cead865401b 100644
(file)
--- 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) {