[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 10:37:59 CDT 2014


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

Review request for Asterisk Developers and Joshua Colp.


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


More information about the asterisk-dev mailing list