[asterisk-bugs] [Asterisk 0013116]: Asterisk 1.4.21.1 segfaults many times daily using mixmonitor

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 27 14:05:24 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13116 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13116
Category:                   Applications/app_mixmonitor
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.21 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-07-20 14:37 CDT
Last Modified:              2009-01-27 14:05 CST
====================================================================== 
Summary:                    Asterisk 1.4.21.1 segfaults many times daily using
mixmonitor
Description: 
Random crashes while mixmonitor is used
backtrace attached
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0013210 Asterisk production environment crashes...
====================================================================== 

---------------------------------------------------------------------- 
 (0098886) svnbot (reporter) - 2009-01-27 14:05
 http://bugs.digium.com/view.php?id=13116#c98886 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 171621

U   branches/1.4/main/slinfactory.c

------------------------------------------------------------------------
r171621 | mmichelson | 2009-01-27 14:05:20 -0600 (Tue, 27 Jan 2009) | 18
lines

Prevent a crash from occurring when a jitter buffer interpolated frame is
removed from a slinfactory

slinfactory used the "samples" field of an ast_frame in order to determine
the amount of data contained within the frame. In certain cases, such as
jitter buffer interpolated frames, the frame would have a non-zero value
for
"samples" but have NULL "data"

This caused a problem when a memcpy call in ast_slinfactory_read would
attempt
to access invalid memory. The solution in use here is to never feed frames
into
the slinfactory if they have NULL "data"

(closes issue http://bugs.digium.com/view.php?id=13116)
Reported by: aragon
Patches:
      13116.diff uploaded by putnopvut (license 60)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171621 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 14:05 svnbot         Note Added: 0098886                          
======================================================================




More information about the asterisk-bugs mailing list