diff options
author | Gerald Carter <jerry@samba.org> | 2002-01-22 18:19:00 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-01-22 18:19:00 +0000 |
commit | 38d2d26af9ef4d90dcb57fa940267f7136876191 (patch) | |
tree | 5eb2153a25e49102a239ed56078263f2308c0866 /source | |
parent | 90a7a1840b4823d4ebe047130a95dd15a824500b (diff) | |
download | samba-38d2d26af9ef4d90dcb57fa940267f7136876191.tar.gz samba-38d2d26af9ef4d90dcb57fa940267f7136876191.tar.xz samba-38d2d26af9ef4d90dcb57fa940267f7136876191.zip |
merge from appliance_head
Diffstat (limited to 'source')
-rw-r--r-- | source/rpc_server/srv_pipe_hnd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/rpc_server/srv_pipe_hnd.c b/source/rpc_server/srv_pipe_hnd.c index 1b3d66bf497..a0afa0e5488 100644 --- a/source/rpc_server/srv_pipe_hnd.c +++ b/source/rpc_server/srv_pipe_hnd.c @@ -574,10 +574,13 @@ authentication failed. Denying the request.\n", p->name)); } /* - * Check the data length doesn't go over the 10Mb limit. + * Check the data length doesn't go over the 15Mb limit. + * increased after observing a bug in the Windows NT 4.0 SP6a + * spoolsv.exe when the response to a GETPRINTERDRIVER2 RPC + * will not fit in the initial buffer of size 0x1068 --jerry 22/01/2002 */ - if(prs_data_size(&p->in_data.data) + data_len > 10*1024*1024) { + if(prs_data_size(&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); |