[asterisk-dev] [Code Review] 3975: Menuselect: Fix incorrect enabling on failed deps

opticron reviewboard at asterisk.org
Fri Sep 5 08:26:06 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3975/
-----------------------------------------------------------

(Updated Sept. 5, 2014, 8:26 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and Matt Jordan.


Changes
-------

Committed in revision 1187


Repository: Menuselect


Description
-------

This corrects a situation where menuselect can incorrectly enable a module by default that has defaultenabled set to "no" and has failed/non-selected dependencies. The bug is due to an inverted test when checking for whether the given module should be set to enabled by default on load.


Diffs
-----

  trunk/menuselect.c 1186 

Diff: https://reviewboard.asterisk.org/r/3975/diff/


Testing
-------

Verified that the four modules that fit the requirements for this bug were correctly not enabled when the patch was applied. The modules where I observed this behavior are pbx_ael, chan_jingle, chan_gtalk, and chan_mgcp on the 1.8.28 certified branch.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140905/2214c666/attachment.html>


More information about the asterisk-dev mailing list