[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Sun Jan 9 07:48:03 MST 2011
The branch, master has been updated
via 504be0a s4: make pipes with underscore works also
from b57721f s3: Convert enc_blob_send_receive to cli_trans()
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 504be0ac548bf422e303aca645aeaad12b6de6df
Author: Matthieu Patou <mat at matws.net>
Date: Tue Sep 28 04:40:38 2010 +0400
s4: make pipes with underscore works also
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Sun Jan 9 15:47:01 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source4/ntvfs/ipc/vfs_ipc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index 4f14398..972de27 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -228,7 +228,9 @@ static void ipc_open_done(struct tevent_req *subreq);
static NTSTATUS validate_pipename(const char *name)
{
while (*name) {
- if (!isalnum(*name)) return NT_STATUS_INVALID_PARAMETER;
+ if (!isalnum(*name) && *name != '_') {
+ return NT_STATUS_INVALID_PARAMETER;
+ }
name++;
}
return NT_STATUS_OK;
--
Samba Shared Repository
More information about the samba-cvs
mailing list