[asterisk-bugs] [Asterisk 0016993]: [patch] MusicOnHold produces a crash

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 9 10:11:36 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16993 
====================================================================== 
Reported By:                dmitri
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16993
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-1062 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 251399 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-09 02:29 CST
Last Modified:              2010-06-09 10:11 CDT
====================================================================== 
Summary:                    [patch] MusicOnHold produces a crash
Description: 
MusicOnHold produces a crash on hangup when class configured in realtime
refers for non existing or an empty directory.
And this only happens when using cachertclasses flag in musiconhold.conf.
I made a patch for fixing this issue.
====================================================================== 

---------------------------------------------------------------------- 
 (0123179) svnbot (reporter) - 2010-06-09 10:11
 https://issues.asterisk.org/view.php?id=16993#c123179 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 269271

U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r269271 | dvossel | 2010-06-09 10:09:25 -0500 (Wed, 09 Jun 2010) | 15
lines

fixes crash in moh when cachertclasses flag is used

The result for moh_register was not verified to guarantee
the mohclass as added to the container.


(closes issue https://issues.asterisk.org/view.php?id=16993)
Reported by: dmitri
Patches:
      res_musiconhold_rtclass2.patch uploaded by dmitri (license 1001)
      moh_crash2.diff uploaded by dvossel (license 671)
Tested by: dmitri



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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-09 10:11 svnbot         Checkin                                      
2010-06-09 10:11 svnbot         Note Added: 0123179                          
======================================================================




More information about the asterisk-bugs mailing list