From 7dbaaa09643db9e4f7eb129a9d38816e17e3b80c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 8 Feb 2002 21:51:40 +0000 Subject: merge from APPLIANCE_HEAD (This used to be commit e734c1971d2841b2cfe37414fe4893f4a66b22a9) --- source3/rpc_server/srv_pipe_hnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 07dc2210c1..44dd5fac65 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -579,7 +579,7 @@ authentication failed. Denying the request.\n", p->name)); * will not fit in the initial buffer of size 0x1068 --jerry 22/01/2002 */ - if(prs_data_size(&p->in_data.data) + data_len > 15*1024*1024) { + if(prs_offset(&p->in_data.data) + data_len > 15*1024*1024) { DEBUG(0,("process_request_pdu: rpc data buffer too large (%u) + (%u)\n", (unsigned int)prs_data_size(&p->in_data.data), (unsigned int)data_len )); set_incoming_fault(p); -- cgit