summaryrefslogtreecommitdiffstats
path: root/source/smbd/pipes.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-04-18 17:57:53 +0000
committerJean-François Micouleau <jfm@samba.org>2001-04-18 17:57:53 +0000
commit9513eb87c2d113fe27bcea2add05226495c33cb8 (patch)
tree3212382331815185d4961ec6fe0f7082ecdfd3b2 /source/smbd/pipes.c
parentc0d4a1f5dd34e49843c879dd88fc78c7dffd9269 (diff)
downloadsamba-9513eb87c2d113fe27bcea2add05226495c33cb8.tar.gz
samba-9513eb87c2d113fe27bcea2add05226495c33cb8.tar.xz
samba-9513eb87c2d113fe27bcea2add05226495c33cb8.zip
a missing string conversion.
J.F.
Diffstat (limited to 'source/smbd/pipes.c')
-rw-r--r--source/smbd/pipes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/pipes.c b/source/smbd/pipes.c
index 366707cd589..7a3c1fe20e6 100644
--- a/source/smbd/pipes.c
+++ b/source/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, */