[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3203-g7d86c37

Jeremy Allison jra at samba.org
Mon Dec 1 21:00:26 GMT 2008


The branch, v3-2-test has been updated
       via  7d86c371f4613287e5e7461db37ee5db86c2a5aa (commit)
      from  0f2e2451a5d7eac917d8a874032c2366dd8aaa12 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 7d86c371f4613287e5e7461db37ee5db86c2a5aa
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Dec 1 12:59:25 2008 -0800

    s3:smbd: '|' isn't allowed in windows filenames
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/reply.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 9538a72..e46479c 100644
--- 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) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list