mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
libcli: Add a comment explaining lack of overflow checks
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6625d35643
commit
636c09c813
@ -852,6 +852,9 @@ static struct tevent_req *tstream_npa_writev_send(TALLOC_CTX *mem_ctx,
|
||||
|
||||
msg_len = 0;
|
||||
for (i=0; i < count; i++) {
|
||||
/*
|
||||
* overflow check already done in tstream_writev_send
|
||||
*/
|
||||
msg_len += vector[i].iov_len;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user