git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6625d35
)
libcli: Add a comment explaining lack of overflow checks
author
Volker Lendecke
<vl@samba.org>
Thu, 14 Mar 2019 15:13:10 +0000
(16:13 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 18 Mar 2019 19:21:23 +0000
(19:21 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/named_pipe_auth/npa_tstream.c
patch
|
blob
|
history
diff --git
a/libcli/named_pipe_auth/npa_tstream.c
b/libcli/named_pipe_auth/npa_tstream.c
index 8ec52ed9b8597faa7ee25ea20861d7030da627d3..9ae4acb7f0b2d5c0c7d60536f354ca35fe84a033 100644
(file)
--- a/
libcli/named_pipe_auth/npa_tstream.c
+++ b/
libcli/named_pipe_auth/npa_tstream.c
@@
-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;
}