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)
commit05a297e3a98c14360782af4ad0d851638fb5da9a
tree9c7ddfb8ba98f399fe8a7debb444ce6ccdae8e4e
parent06cc6eaa50fa4b673d527e91740f9d2d2b16d367
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...
source/include/ntdomain.h
source/include/proto.h
source/lib/membuffer.c
source/lib/util.c
source/rpc_client/cli_pipe.c
source/rpc_server/srv_pipe_hnd.c
source/rpc_server/srv_util.c
source/smbd/ipc.c