[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:21:46 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17092 
====================================================================== 
Reported By:                moy
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   17092
Category:                   Codecs/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-03-24 10:31 CDT
Last Modified:              2010-07-16 10:21 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0124602) svnbot (reporter) - 2010-07-16 10:21
 https://issues.asterisk.org/view.php?id=17092#c124602 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 277144

_U  branches/1.6.2/
U   branches/1.6.2/main/translate.c

------------------------------------------------------------------------
r277144 | seanbright | 2010-07-16 10:21:45 -0500 (Fri, 16 Jul 2010) | 15
lines

Merged revisions 277143 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r277143 | seanbright | 2010-07-16 11:20:40 -0400 (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=277144 

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




More information about the asterisk-bugs mailing list