[Asterisk-code-review] config.c: parsing_extconfig.conf (...asterisk[16])

Christian Savinovich asteriskteam at digium.com
Fri Apr 5 11:52:08 CDT 2019


Hello Friendly Automation, Sean Bright, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/11230

to look at the new patch set (#3).

Change subject: config.c: parsing_extconfig.conf
......................................................................

config.c: parsing_extconfig.conf

When extconfig.conf file is parsed, the code previously searched for
character comma without verifying if error (null or blank).  This caused
a segmentation error. An "if" was introduced, and if search returns null
a warning is printed and line is skipped.

Change-Id: Id76b452d8f330d11c2742c37232761ad71472a8b
---
M main/config.c
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/11230/3
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11230
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Id76b452d8f330d11c2742c37232761ad71472a8b
Gerrit-Change-Number: 11230
Gerrit-PatchSet: 3
Gerrit-Owner: Christian Savinovich <csavinovich at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190405/c5c79b5f/attachment.html>


More information about the asterisk-code-review mailing list