Security: Patche for CVE-2008-1105.
[samba.git] / source / client / smbctool.c
index 2063418a91657be8d46a8b8b4547decb5b1ca5c5..a18505b4b4517bc4ae0480f63f295019aa299036 100644 (file)
@@ -3304,7 +3304,7 @@ static void readline_callback(void)
           session keepalives and then drop them here.
        */
        if (FD_ISSET(cli->fd,&fds)) {
-               receive_smb(cli->fd,cli->inbuf,0);
+               receive_smb(cli->fd,cli->inbuf,cli->bufsize,0);
                goto again;
        }