CVS update: samba/source/rpc_client

Elrond elrond at samba.org
Sat Jun 24 04:54:26 EST 2000


Date:	Saturday June 24, 2000 @ 4:54
Author:	elrond

Update of /data/cvs/samba/source/rpc_client
In directory samba:/tmp/cvs-serv14332

Modified Files:
      Tag: SAMBA_TNG
	cli_pipe_noauth.c 
Log Message:
*arg* This took me about a day... and help by other people
*and it was simple in the end:

        if (data_len > nt->max_recv_frag)
        {   
                data_len = nt->max_recv_frag + 0x18;
        }

This is in create_noauth_pdu in cli_pipe_noauth.c. data_len
is a little below nt->max_recv_frag, then it will be
greater then nt->max_recv_frag after this call and if this
would have been the last fragment, this code marshals too
much data...

Okay, long story, short answer: Remove the "+ 0x18" at the
end.

Added some more debugging, since nt->max_recv_frag seems to
be zero for Tom and I haven't yet any idea, why.



More information about the samba-cvs mailing list