summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit6e4b0088298c926e4eb09b1c97f750e5c3feb295 (patch)
treecd24fc073d57671edfbee42217f3963ac25d055a /source3/smbd
parent3b4d7082cb9723214fe2410dd7a1e2d11d0f748f (diff)
downloadsamba-6e4b0088298c926e4eb09b1c97f750e5c3feb295.tar.gz
samba-6e4b0088298c926e4eb09b1c97f750e5c3feb295.tar.bz2
samba-6e4b0088298c926e4eb09b1c97f750e5c3feb295.zip
a missing string conversion.
J.F. (This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/pipes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index 366707cd58..7a3c1fe20e 100644
--- 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, */