(NULL pointer access in the dahdi kernel module) when used with allstarlink software (old asterisk version with app_rpt)
Problem can be solved by a simple patch to dahdi-base.c:
- Code: Select all
@@ -1523,7 +1523,7 @@
*/
static void dahdi_disable_hw_preechocan(struct dahdi_chan *chan)
{
- if (chan->span->ops->disable_hw_preechocan)
+ if (chan && chan->span && chan->span->ops->disable_hw_preechocan)
chan->span->ops->disable_hw_preechocan(chan);
}
Is there a chance for getting this patch into the next dahdi release?
-Hans