git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b4d708
)
a missing string conversion.
author
Jean-François Micouleau
<jfm@samba.org>
Wed, 18 Apr 2001 17:57:53 +0000
(17:57 +0000)
committer
Jean-François Micouleau
<jfm@samba.org>
Wed, 18 Apr 2001 17:57:53 +0000
(17:57 +0000)
J.F.
(This used to be commit
9513eb87c2d113fe27bcea2add05226495c33cb8
)
source3/smbd/pipes.c
patch
|
blob
|
history
diff --git
a/source3/smbd/pipes.c
b/source3/smbd/pipes.c
index 366707cd5896cb5a410b3bada2bb70d10f60a5d2..7a3c1fe20e6e4649bcf34a0607f869cf75831adb 100644
(file)
--- a/
source3/smbd/pipes.c
+++ b/
source3/smbd/pipes.c
@@
-52,7
+52,7
@@
int reply_open_pipe_and_X(connection_struct *conn,
int i;
/* XXXX we need to handle passed times, sattr and flags */
-
pstrcpy(fname,smb_buf(inbuf)
);
+
srvstr_pull(inbuf, fname, smb_buf(inbuf), sizeof(fname), -1, STR_TERMINATE
);
/* If the name doesn't start \PIPE\ then this is directed */
/* at a mailslot or something we really, really don't understand, */