[SCM] Samba Shared Repository - branch master updated - 49a8bd5e14fdb78197fc821fca72f0ba201f5f39

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


The branch, master has been updated
       via  49a8bd5e14fdb78197fc821fca72f0ba201f5f39 (commit)
      from  24fec0a8d727a51ffe214af5ee62bb7a730ce539 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 49a8bd5e14fdb78197fc821fca72f0ba201f5f39
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Dec 1 13:01:09 2008 -0800

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

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 1f99db2..d23f9c1 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) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list