[asterisk-dev] [Code Review] 3809: features config: prevent assert on no featuregroups or applicationmap

Scott Griepentrog reviewboard at asterisk.org
Thu Jul 17 17:17:41 CDT 2014


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

(Updated July 17, 2014, 5:17 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 418886


Repository: Asterisk


Description
-------

During testing, encountered an assert due to a null featuregroup passed to ao2_find().  This patch adds null checks around cfg->featuregroups and cfg->applicationmap, since they are not duplicated or initialized when features are copied.


Diffs
-----

  /team/group/media_formats-reviewed-trunk/main/features_config.c 418785 

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


Testing
-------

Repeated previously asserting test sequence with success.


Thanks,

Scott Griepentrog

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


More information about the asterisk-dev mailing list