git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b57721f
)
s4: make pipes with underscore works also
author
Matthieu Patou
<mat@matws.net>
Tue, 28 Sep 2010 00:40:38 +0000
(
04:40
+0400)
committer
Stefan Metzmacher
<metze@samba.org>
Sun, 9 Jan 2011 14:47:01 +0000
(15:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jan 9 15:47:01 CET 2011 on sn-devel-104
source4/ntvfs/ipc/vfs_ipc.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/ipc/vfs_ipc.c
b/source4/ntvfs/ipc/vfs_ipc.c
index 4f143986fcfd062419d413e42dea6955c6e042b0..972de2723c99e205a2ceca6c2e6884455a442b81 100644
(file)
--- 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;