From 6e4b0088298c926e4eb09b1c97f750e5c3feb295 Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Wed, 18 Apr 2001 17:57:53 +0000 Subject: a missing string conversion. J.F. (This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8) --- source3/smbd/pipes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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, */ -- cgit