[asterisk-bugs] [Asterisk 0014234]: [patch] Log and debug messages in ast_rtp_destroy can cause a crash

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 22 14:02:13 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14234 
====================================================================== 
Reported By:                jcovert
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14234
Category:                   Core/RTP
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.3 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-13 17:43 CST
Last Modified:              2009-01-22 14:02 CST
====================================================================== 
Summary:                    [patch] Log and debug messages in ast_rtp_destroy
can cause a crash
Description: 
It's possible for rtp->rtcp to be zero, in which case a reference to
rtp->rtcp->whatever is not a good idea.

When app_asr ("just digits") calls ast_rtp_destroy, a crash happens every
time.

Patch included fixes this.
====================================================================== 

---------------------------------------------------------------------- 
 (0098475) svnbot (reporter) - 2009-01-22 14:02
 http://bugs.digium.com/view.php?id=14234#c98475 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 170239

U   branches/1.4/main/rtp.c

------------------------------------------------------------------------
r170239 | file | 2009-01-22 14:02:12 -0600 (Thu, 22 Jan 2009) | 7 lines

Don't crash if RTCP is not enabled on an RTP structure but statistics are
output.
(closes issue http://bugs.digium.com/view.php?id=14234)
Reported by: jcovert
Patches:
      rtp.c.patch-1.6.0.3 uploaded by jcovert (license 551)
      rtp.c.patch-svn-165599 uploaded by jcovert (license 551)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-22 14:02 svnbot         Checkin                                      
2009-01-22 14:02 svnbot         Note Added: 0098475                          
======================================================================




More information about the asterisk-bugs mailing list