[Asterisk-code-review] Iostreams: Correct off-by-one error. (asterisk[master])
Richard Mudgett
asteriskteam at digium.com
Tue Dec 6 12:44:26 CST 2016
Richard Mudgett has posted comments on this change. ( https://gerrit.asterisk.org/4556 )
Change subject: Iostreams: Correct off-by-one error.
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
https://gerrit.asterisk.org/#/c/4556/2/main/iostream.c
File main/iostream.c:
Line 415: if (len > sizeof(sbuf) - 1) {
len >= sizeof(sbuf) would have also worked.
--
To view, visit https://gerrit.asterisk.org/4556
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib3c5f41e96833d0415cf000656ac368168add639
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes
More information about the asterisk-code-review
mailing list