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

Ship it!


Ship It!

- Matt Jordan


On Oct. 1, 2014, 5:45 p.m., George Joseph wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4044/
> -----------------------------------------------------------
> 
> (Updated Oct. 1, 2014, 5:45 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> 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