some quite important bug-fixes i missed because i transferred the wrong
authorLuke Leighton <lkcl@samba.org>
Tue, 20 Oct 1998 18:27:49 +0000 (18:27 +0000)
committerLuke Leighton <lkcl@samba.org>
Tue, 20 Oct 1998 18:27:49 +0000 (18:27 +0000)
commit1ebeb54932de01323356e8201d465656b8723d46
treeda41300fe2d31576f3efc0041739626b618fbb66
parent476d0fd23682452d0d9f56ff2e166243d74cfdbc
some quite important bug-fixes i missed because i transferred the wrong
smb.tgz file from my portable.

particularly the call to mem_data followed by a realloc of that data in
cli_pipe.c's rpc_read() function.

smbd responses now use p->rdata_i which is a faked-up pointer into
p->rdata's response data.  rdata can be very long; rdata_i is limited
to point to no more than max_tsize - 0x18 in length.  this will make
it an almost trivial task to add the encrypted rpc headers after
rdata_i, and mem_buf_copy will cope admirably with rhdr chained to
rdata_i chained to auth_verifier etc etc...
(This used to be commit 05a297e3a98c14360782af4ad0d851638fb5da9a)
source3/include/ntdomain.h
source3/include/proto.h
source3/lib/membuffer.c
source3/lib/util.c
source3/rpc_client/cli_pipe.c
source3/rpc_server/srv_pipe_hnd.c
source3/rpc_server/srv_util.c
source3/smbd/ipc.c