1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

a missing string conversion.

J.F.
(This used to be commit 9513eb87c2d113fe27bcea2add05226495c33cb8)
This commit is contained in:
Jean-François Micouleau 2001-04-18 17:57:53 +00:00
parent 3b4d7082cb
commit 6e4b008829

View File

@ -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, */