[asterisk-bugs] [Asterisk 0014111]: [patch] app_chanspy crashed so-as "chanspy_ds.lock" has random values
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Dec 19 05:32:43 CST 2008
The following issue has been UPDATED.
======================================================================
http://bugs.digium.com/view.php?id=14111
======================================================================
Reported By: ys
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14111
Category: Applications/app_chanspy
Reproducibility: sometimes
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 165881
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-12-19 05:32 CST
Last Modified: 2008-12-19 05:32 CST
======================================================================
Summary: [patch] app_chanspy crashed so-as "chanspy_ds.lock"
has random values
Description:
Hi.
Inside function common_exec() declared struct chanspy_ds chanspy_ds, that
contain "ast_mutex_t lock".
This lock is not initialized and contain random values from stack heap.
This may cause random crash in call to:
ast_mutex_init(&chanspy_ds.lock);
or
ast_mutex_lock(&chanspy_ds.lock);
In my BSD box with DEBUG_THREADS options enabled, this application crashed
permanently on exit in ast_mutex_lock(&chanspy_ds.lock); point.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-12-19 05:32 ys Summary app_chanspy crashed
so-as "chanspy_ds.lock" has random values => [patch] app_chanspy crashed so-as
"chanspy_ds.lock" has random values
======================================================================
More information about the asterisk-bugs
mailing list