[Asterisk-code-review] core: Fix handling of maximum length lines in config files. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Fri Feb 23 11:12:22 CST 2018


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/8382 )

Change subject: core: Fix handling of maximum length lines in config files.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/8382/1/main/config.c
File main/config.c:

https://gerrit.asterisk.org/#/c/8382/1/main/config.c@2203
PS1, Line 2203: strlen
> Same problem here?
Actually this is an even bigger problem, it would cause the following line to be skipped if when buf[sizeof(buf) - 2] == '\n'.



-- 
To view, visit https://gerrit.asterisk.org/8382
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I80864a0d40d2e2d8cd79d72af52a8f0a3a99c015
Gerrit-Change-Number: 8382
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Fri, 23 Feb 2018 17:12:22 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180223/c6e2edf2/attachment.html>


More information about the asterisk-code-review mailing list