[asterisk-dev] Possible bug in chan_zap.c

Slav Klenov slav at securax.org
Wed Feb 8 08:48:21 MST 2006


http://bugs.digium.com/view.php?id=6434

Jared Smith wrote:

>On Tue, 2006-02-07 at 17:19 +0200, Slav Klenov wrote:
>  
>
>>In function
>>static struct zt_pvt *mkintf(int channel, int signalling, int radio, 
>>struct zt_pri *pri, int reloading)
>>in chan_zap.c line 7035 (svn trunk from today) we have:
>>
>>    if (p.sigtype != (signalling & 0x3ffff)) {
>>        ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but 
>>line is in %s signalling\n", channel, sig2str(signalling), 
>>sig2str(p.sigtype));
>>        destroy_zt_pvt(&tmp);
>>        return tmp;
>>    }
>>
>>Shouldn't we return NULL in this case?
>>    
>>
>
>Thanks for your help!
>
>Please open a bug ticket at http://bugs.digium.com/ so that this can be
>tracked and corrected if it needs to be.  This way, it won't get lost.
>
>-Jared
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>asterisk-dev mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060208/88b11f42/attachment.htm


More information about the asterisk-dev mailing list