svn commit: samba r25023 - in branches: SAMBA_3_2/source/rpc_server
SAMBA_3_2_0/source/rpc_server
jra at samba.org
jra at samba.org
Sat Sep 8 05:35:11 GMT 2007
Author: jra
Date: 2007-09-08 05:35:10 +0000 (Sat, 08 Sep 2007)
New Revision: 25023
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25023
Log:
Coverity #455. Not actually a bug, but this clarifies
the code a lot.
Jeremy.
Modified:
branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c
branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c
Changeset:
Modified: branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c
===================================================================
--- branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c 2007-09-08 05:18:08 UTC (rev 25022)
+++ branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c 2007-09-08 05:35:10 UTC (rev 25023)
@@ -1033,6 +1033,7 @@
if(n > RPC_MAX_PDU_FRAG_LEN) {
DEBUG(5,("read_from_pipe: too large read (%u) requested on \
pipe %s. We can only service %d sized reads.\n", (unsigned int)n, p->name, RPC_MAX_PDU_FRAG_LEN ));
+ n = RPC_MAX_PDU_FRAG_LEN;
}
/*
Modified: branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c
===================================================================
--- branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c 2007-09-08 05:18:08 UTC (rev 25022)
+++ branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c 2007-09-08 05:35:10 UTC (rev 25023)
@@ -1035,6 +1035,7 @@
if(n > RPC_MAX_PDU_FRAG_LEN) {
DEBUG(5,("read_from_pipe: too large read (%u) requested on \
pipe %s. We can only service %d sized reads.\n", (unsigned int)n, p->name, RPC_MAX_PDU_FRAG_LEN ));
+ n = RPC_MAX_PDU_FRAG_LEN;
}
/*
More information about the samba-cvs
mailing list