mirror of
https://github.com/samba-team/samba.git
synced 2024-12-30 13:18:05 +03:00
Found by my new checking code (yet to be commited):
Allow a service longer than 4 characters in CORE tcon.
Andrew Bartlett
(This used to be commit b56613c1cc
)
This commit is contained in:
parent
ef07127b30
commit
c3221b8377
@ -161,7 +161,7 @@ int reply_tcon(connection_struct *conn,
|
||||
*service_buf = *password = *dev = 0;
|
||||
|
||||
p = smb_buf(inbuf)+1;
|
||||
p += srvstr_pull_buf(inbuf, service_buf, p, sizeof(service), STR_TERMINATE) + 1;
|
||||
p += srvstr_pull_buf(inbuf, service_buf, p, sizeof(service_buf), STR_TERMINATE) + 1;
|
||||
pwlen = srvstr_pull_buf(inbuf, password, p, sizeof(password), STR_TERMINATE) + 1;
|
||||
p += pwlen;
|
||||
p += srvstr_pull_buf(inbuf, dev, p, sizeof(dev), STR_TERMINATE) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user