[asterisk-dev] [Code Review] 2803: Fix Segfault When Syntax Of [applicationmap] Context Line Is Invalid In features.conf
svnbot
reviewboard at asterisk.org
Tue Sep 17 20:32:41 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2803/
-----------------------------------------------------------
(Updated Sept. 17, 2013, 8:32 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 399304
Bugs: ASTERISK-22416
https://issues.asterisk.org/jira/browse/ASTERISK-22416
Repository: Asterisk
Description
-------
When processing the lines in the [applicationmap] context, a segfault occurs from attempting to process a line with an invalid syntax (basically missing arguments).
Example:
[applicationmap]
automon=*6
The fix is to move the checking that the arguments are not empty to before these arguments are accessed.
Also, checked the "todo" comment and removed it. Some applications do not require arguments.
Diffs
-----
/branches/1.8/main/features.c 397876
Diff: https://reviewboard.asterisk.org/r/2803/diff/
Testing
-------
Tested by the reporter on the issue.
Thanks,
Michael Young
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130918/527d1b65/attachment.htm>
More information about the asterisk-dev
mailing list