[asterisk-bugs] [Asterisk 0015234]: [patch] If dahdi timing interface is not registered, when we try to unload res_timing_dahdi asterisk crash.

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 30 20:58:54 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15234 
====================================================================== 
Reported By:                eliel
Assigned To:                eliel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15234
Category:                   Resources/res_timing_dahdi
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 198375 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-30 16:56 CDT
Last Modified:              2009-05-30 20:58 CDT
====================================================================== 
Summary:                    [patch] If dahdi timing interface is not registered,
when we try to unload res_timing_dahdi asterisk crash.
Description: 
If dahdi_test_timer() fails for some reason and the module is not properly
loaded when unloading the module asterisk crash.
====================================================================== 

---------------------------------------------------------------------- 
 (0105811) svnbot (reporter) - 2009-05-30 20:58
 https://issues.asterisk.org/view.php?id=15234#c105811 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 198441

_U  branches/1.6.1/
U   branches/1.6.1/res/res_timing_dahdi.c

------------------------------------------------------------------------
r198441 | eliel | 2009-05-30 20:58:54 -0500 (Sat, 30 May 2009) | 17 lines

Merged revisions 198437 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198437 | eliel | 2009-05-30 21:22:15 -0400 (Sat, 30 May 2009) | 11
lines
  
  Avoid a crash when res_timing_dahdi is unloaded but wasn't properly
loaded.
  
  if dahdi_test_timer() fails, timing_funcs_handle remains NULL causing a
crash
  when calling ast_unregister_timing_interface() with a NULL pointer.
  
  (closes issue https://issues.asterisk.org/view.php?id=15234)
  Reported by: eliel
  Patches:
        timing_dahdi1.diff uploaded by eliel (license 64)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198441 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-30 20:58 svnbot         Checkin                                      
2009-05-30 20:58 svnbot         Note Added: 0105811                          
======================================================================




More information about the asterisk-bugs mailing list