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

(Updated Oct. 3, 2014, 10:54 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 424447


Repository: Asterisk


Description
-------

When you call ast_sorcery_create() you don't necessarily know which wizard is 
going to be invoked.  If it happens to be a wizard like 'config' that doesn't 
have a 'create' virtual function you get a segfault in the 
sorcery_wizard_create callback.  This patch catches the null function pointer, 
does an ast_assert, and logs an error.


Diffs
-----

  branches/12/main/sorcery.c 424332 

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


Testing
-------


Thanks,

George Joseph

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to