[asterisk-bugs] [Asterisk 0016993]: [patch] MusicOnHold produces a crash
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jun 7 08:43:42 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: feedback
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-07 08:43 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.
======================================================================
----------------------------------------------------------------------
(0123051) dvossel (administrator) - 2010-06-07 08:43
https://issues.asterisk.org/view.php?id=16993#c123051
----------------------------------------------------------------------
moh_register returns a -1 if it fails to add the mohclass to the container.
Wouldn't checking for that failure and explicitly setting mohclass to NULL
make more sense?
Issue History
Date Modified Username Field Change
======================================================================
2010-06-07 08:43 dvossel Note Added: 0123051
======================================================================
More information about the asterisk-bugs
mailing list