[asterisk-bugs] [Zaptel 0010806]: Channel opening and unregistering race
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Dec 14 13:13:52 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10806
======================================================================
Reported By: Matti
Assigned To:
======================================================================
Project: Zaptel
Issue ID: 10806
Category: zaptel (the module)
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: new
Zaptel Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 3052
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-23-2007 03:45 CDT
Last Modified: 12-14-2007 13:13 CST
======================================================================
Summary: Channel opening and unregistering race
Description:
Function zt_specchan_open can have a race condition with zt_chan_unreg
resulting in crashing of the program (Asterisk) or the whole computer
during the opening of a Zap device file.
======================================================================
----------------------------------------------------------------------
Matti - 12-14-07 13:13
----------------------------------------------------------------------
Converting the rwlock into a semaphore here is a matter of of correctness
because zt_register_hdlc_device function call can sleep while a Zaptel
driver might unregister the channel, which might lead to a crash.
Issue History
Date Modified Username Field Change
======================================================================
12-14-07 13:13 Matti Note Added: 0075410
======================================================================
More information about the asterisk-bugs
mailing list