summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-02-08 21:51:40 +0000
committerGerald Carter <jerry@samba.org>2002-02-08 21:51:40 +0000
commit7dbaaa09643db9e4f7eb129a9d38816e17e3b80c (patch)
tree754c343c3a8d4e4ff317a01276c835e6b0531d3b /source3/rpc_server
parente32177ea9df93ea13c8712ac732701248ec40fb0 (diff)
downloadsamba-7dbaaa09643db9e4f7eb129a9d38816e17e3b80c.tar.gz
samba-7dbaaa09643db9e4f7eb129a9d38816e17e3b80c.tar.bz2
samba-7dbaaa09643db9e4f7eb129a9d38816e17e3b80c.zip
merge from APPLIANCE_HEAD
(This used to be commit e734c1971d2841b2cfe37414fe4893f4a66b22a9)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
1 files changed, 1 insertions, 1 deletions
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);