[asterisk-bugs] [Asterisk 0017092]: [patch] Segmentation fault when using two codec modules that register the same src and dst format

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 16 10:20:40 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17092 
====================================================================== 
Reported By:                moy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17092
Category:                   Codecs/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-1171 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 254273 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-24 10:31 CDT
Last Modified:              2010-07-16 10:20 CDT
====================================================================== 
Summary:                    [patch] Segmentation fault when using two codec
modules that register the same src and dst format
Description: 
When some component registers a translator with the same src/dst format as
an existing translator but with higher priority ( lower cost ) Asterisk
dies with segmentation fault due to null pointer dereference.
====================================================================== 

---------------------------------------------------------------------- 
 (0124601) svnbot (reporter) - 2010-07-16 10:20
 https://issues.asterisk.org/view.php?id=17092#c124601 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 277143

U   trunk/main/translate.c

------------------------------------------------------------------------
r277143 | seanbright | 2010-07-16 10:20:39 -0500 (Fri, 16 Jul 2010) | 8
lines

Avoid crashing when installing a duplicate translation path with a lower
cost.

(closes issue https://issues.asterisk.org/view.php?id=17092)
Reported by: moy
Patches:
      translate.rev254273.patch uploaded by moy (license 222)
Tested by: moy

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-16 10:20 svnbot         Checkin                                      
2010-07-16 10:20 svnbot         Note Added: 0124601                          
======================================================================




More information about the asterisk-bugs mailing list