The branch, v3-3-test has been updated
       via  7435fe9d147fd495aa2dd9cc97f6fd0c1e93bddc (commit)
      from  efaac8049e43279266b5ea35dab8a866a96205b4 (commit)

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


- Log -----------------------------------------------------------------
commit 7435fe9d147fd495aa2dd9cc97f6fd0c1e93bddc
Author: Stefan Metzmacher <[EMAIL PROTECTED]>
Date:   Mon Dec 1 12:59:40 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 1ca2712..6198818 100644
--- a/source/smbd/reply.c
+++ b/source/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

Reply via email to