[asterisk-bugs] [DAHDI-linux 0015350]: [patch] Kernal panic from dahdi_hooksig if JAPAN or AUDIO_RINGCHECK or ZERO_BATT_RING compile in

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 18 13:03:27 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15350 
====================================================================== 
Reported By:                alecdavis
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15350
Category:                   wctdm
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-06-18 03:30 CDT
Last Modified:              2009-06-18 13:03 CDT
====================================================================== 
Summary:                    [patch] Kernal panic from dahdi_hooksig if JAPAN or
AUDIO_RINGCHECK or ZERO_BATT_RING compile in
Description: 
While working on another patch dicovered this
 dahdi_hooksig(&wc->chans[card], DAHDI_RXSIG_OFFHOOK);

Were in all the other dahdi_hooksig calls in the same function they are
with the '&'.
 dahdi_hooksig(wc->chans[card], DAHDI_RXSIG_OFFHOOK);


====================================================================== 

---------------------------------------------------------------------- 
 (0106672) svnbot (reporter) - 2009-06-18 13:03
 https://issues.asterisk.org/view.php?id=15350#c106672 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 6692

U   linux/trunk/drivers/dahdi/wcfxo.c
U   linux/trunk/drivers/dahdi/wctdm.c
U   linux/trunk/drivers/dahdi/wctdm24xxp/base.c

------------------------------------------------------------------------
r6692 | sruffell | 2009-06-18 13:03:26 -0500 (Thu, 18 Jun 2009) | 8 lines

wctdm, wctdm24xxp, wcfxo: Fix calls to dahdi_hooksig.

When JAPAN, AUDIO_RINGCHECK, or ZERO_BATT_RING compile time options are
selected it is possible to get a kernel panic due to an invalid pointer
passed
to the dahdi_hooksig function.

(closes issue https://issues.asterisk.org/view.php?id=15350)
Patch by: alecdavis
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6692 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-18 13:03 svnbot         Checkin                                      
2009-06-18 13:03 svnbot         Note Added: 0106672                          
======================================================================




More information about the asterisk-bugs mailing list