[asterisk-bugs] [Asterisk 0012210]: Possible crash if chan is null
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Mar 14 04:00:58 CDT 2008
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=12210
======================================================================
Reported By: edantie
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12210
Category: Resources/res_musiconhold
Reproducibility: N/A
Severity: trivial
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0
SVN Revision (number only!): 108679
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 03-14-2008 04:00 CDT
Last Modified: 03-14-2008 04:00 CDT
======================================================================
Summary: Possible crash if chan is null
Description:
in res/res_musiconhold.c, line 211-215
<code>
static void moh_files_release(struct ast_channel *chan, void *data)
{
struct moh_files_state *state = chan->music_state;
if (chan && state) {
</code>
can crash if chan is NULL
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
03-14-08 04:00 edantie Asterisk Version => SVN
03-14-08 04:00 edantie SVN Branch (only for SVN checkou => 1.6.0
03-14-08 04:00 edantie SVN Revision (number only!) => 108679
======================================================================
More information about the asterisk-bugs
mailing list