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:
parent
2400758fbe
commit
fe6644fb5a
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user