1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r25023: Coverity #455. Not actually a bug, but this clarifies

the code a lot.
Jeremy.
(This used to be commit 5ba12eefbed209a8a6b474da479efd190f91638e)
This commit is contained in:
Jeremy Allison 2007-09-08 05:35:10 +00:00 committed by Gerald (Jerry) Carter
parent 2400758fbe
commit fe6644fb5a

View File

@ -1033,6 +1033,7 @@ static ssize_t read_from_internal_pipe(void *np_conn, char *data, size_t n,
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;
}
/*