[asterisk-dev] [Code Review] 4089: config: Fix infinite loop when using ast_category_browse and ast_variable_retrieve together.

George Joseph reviewboard at asterisk.org
Thu Oct 16 12:30:04 CDT 2014


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

(Updated Oct. 16, 2014, 12:30 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Joshua Colp and Matt Jordan.


Changes
-------

Committed in revision 425713


Repository: Asterisk


Description
-------

Fix infinite loop when calling ast_variable_retrieve inside a ast_category_browse loop when there are more than 1 category with the same name.

1 line removed from ast_category_browse_filtered.
A unit test added.
Language updated in config.h for ast_category_browse (not necessarily related to this issue).


Diffs
-----

  branches/12/tests/test_config.c 425698 
  branches/12/main/config.c 425698 
  branches/12/include/asterisk/config.h 425698 

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


Testing
-------

Existing and new unit test pass.
Testsuite tests/manager/config pass.


Thanks,

George Joseph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141016/9b04d69e/attachment.html>


More information about the asterisk-dev mailing list