[asterisk-bugs] [Asterisk 0016993]: [patch] MusicOnHold produces a crash
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 28 14:34:39 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16993
======================================================================
Reported By: dmitri
Assigned To: pabelanger
======================================================================
Project: Asterisk
Issue ID: 16993
Category: Resources/res_musiconhold
Reproducibility: always
Severity: crash
Priority: normal
Status: ready for testing
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-05-28 14:34 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.
======================================================================
----------------------------------------------------------------------
(0122634) dvossel (administrator) - 2010-05-28 14:34
https://issues.asterisk.org/view.php?id=16993#c122634
----------------------------------------------------------------------
I uploaded a different patch I would like testing with. If I'm
understanding things correctly, I believe my patch will more clearly
resolve this in the code. If the mohclass is present at the end of this
function, it has it's refcount decremented. If MOH_CACHERTCLASSES flag is
set it is possible the refcount was never incremented in the first place
which could cause a crash.
Issue History
Date Modified Username Field Change
======================================================================
2010-05-28 14:34 dvossel Note Added: 0122634
======================================================================
More information about the asterisk-bugs
mailing list