diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-15 06:34:32 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-15 06:34:32 +0000 |
commit | c3221b8377e267133b7c04d78d98d806c54da599 (patch) | |
tree | 314046d02e79431eef504f706cbe106b26338b7a | |
parent | ef07127b3014742550b15cb163b595bafeebafb5 (diff) | |
download | samba-c3221b8377e267133b7c04d78d98d806c54da599.tar.gz samba-c3221b8377e267133b7c04d78d98d806c54da599.tar.bz2 samba-c3221b8377e267133b7c04d78d98d806c54da599.zip |
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 b56613c1cc13ebd5c9ba11a35d2f96c4c3eb0628)
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index fb730bc625..80f648981a 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -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; |