[asterisk-bugs] [Asterisk 0015865]: [patch] musiconhold crash on unload

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 30 11:58:07 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15865 
====================================================================== 
Reported By:                kobaz
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15865
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.0.14 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-09 14:48 CDT
Last Modified:              2009-09-30 11:58 CDT
====================================================================== 
Summary:                    [patch] musiconhold crash on unload
Description: 
Affects 1.6.0.x, 1.6.1.x and trunk

Put someone on hold, and then unload res_musiconhold

    -- Started music on hold, class 'default', on IAX2/branch-4790

*CLI> module unload res_musiconhold.so
*CLI>   == Destroying musiconhold processes
  == Unregistered application 'MusicOnHold'
  == Unregistered application 'WaitMusicOnHold'
  == Unregistered application 'SetMusicOnHold'
  == Unregistered application 'StartMusicOnHold'
  == Unregistered application 'StopMusicOnHold'
*CLI> Segmentation fault (core dumped)

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

---------------------------------------------------------------------- 
 (0111653) svnbot (reporter) - 2009-09-30 11:58
 https://issues.asterisk.org/view.php?id=15865#c111653 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 221200

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r221200 | tilghman | 2009-09-30 11:58:07 -0500 (Wed, 30 Sep 2009) | 7
lines

Avoid a potential NULL dereference.
(closes issue https://issues.asterisk.org/view.php?id=15865)
 Reported by: kobaz
 Patches: 
       20090915__issue15865.diff.txt uploaded by tilghman (license 14)
 Tested by: kobaz

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-30 11:58 svnbot         Checkin                                      
2009-09-30 11:58 svnbot         Note Added: 0111653                          
======================================================================




More information about the asterisk-bugs mailing list