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

opticron reviewboard at asterisk.org
Thu Sep 4 14:32:57 CDT 2014


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

(Updated Sept. 4, 2014, 2:32 p.m.)


Review request for Asterisk Developers and Matt Jordan.


Repository: Menuselect


Description (updated)
-------

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/20140904/d30c8230/attachment.html>


More information about the asterisk-dev mailing list