[asterisk-bugs] [Asterisk 0016993]: [patch] MusicOnHold produces a crash
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 9 10:13:55 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: closed
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2010-03-09 02:29 CST
Last Modified: 2010-06-09 10:13 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.
======================================================================
----------------------------------------------------------------------
(0123181) svnbot (reporter) - 2010-06-09 10:13
https://issues.asterisk.org/view.php?id=16993#c123181
----------------------------------------------------------------------
Repository: asterisk
Revision: 269272
_U branches/1.6.2/
U branches/1.6.2/res/res_musiconhold.c
------------------------------------------------------------------------
r269272 | dvossel | 2010-06-09 10:13:54 -0500 (Wed, 09 Jun 2010) | 20
lines
Merged revisions 269271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
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=269272
Issue History
Date Modified Username Field Change
======================================================================
2010-06-09 10:13 svnbot Checkin
2010-06-09 10:13 svnbot Note Added: 0123181
======================================================================
More information about the asterisk-bugs
mailing list