mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
string terminate in mkdir
This commit is contained in:
parent
afaafc3e5a
commit
fe414d5e1a
@ -116,7 +116,7 @@ BOOL cli_mkdir(struct cli_state *cli, char *dname)
|
||||
|
||||
p = smb_buf(cli->outbuf);
|
||||
*p++ = 4;
|
||||
p += clistr_push(cli, p, dname, -1, 0);
|
||||
p += clistr_push(cli, p, dname, -1, STR_TERMINATE);
|
||||
|
||||
cli_setup_bcc(cli, p);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user