[asterisk-bugs] [Asterisk 0015751]: [patch] Core dump in ast_bridge_call features.c line 2772

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 20 15:37:02 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15751 
====================================================================== 
Reported By:                atis
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15751
Category:                   CDR/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 213216 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-20 11:48 CDT
Last Modified:              2009-08-20 15:37 CDT
====================================================================== 
Summary:                    [patch] Core dump in ast_bridge_call features.c line
 2772
Description: 
Code checks for non-empty peer_cdr but makes use of peer->cdr.

changing peer->cdr to peer_cdr solves the crash. There are also more uses
of peer->cdr and chan->cdr in the same function, and it seems that at least
some of them might be wrong.


====================================================================== 

---------------------------------------------------------------------- 
 (0109397) svnbot (reporter) - 2009-08-20 15:37
 https://issues.asterisk.org/view.php?id=15751#c109397 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 213346

_U  branches/1.6.0/
U   branches/1.6.0/main/features.c

------------------------------------------------------------------------
r213346 | mnicholson | 2009-08-20 15:37:02 -0500 (Thu, 20 Aug 2009) | 14
lines

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

........
  r213327 | mnicholson | 2009-08-20 15:29:32 -0500 (Thu, 20 Aug 2009) | 7
lines
  
  Fix a crash by checking the proper pointer for validity before
deferencing it.
  
  (closes issue https://issues.asterisk.org/view.php?id=15751)
  Reported by: atis
  Patches:
        ast_bridge_call_peer_cdr.patch uploaded by atis (license 242)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-20 15:37 svnbot         Checkin                                      
2009-08-20 15:37 svnbot         Note Added: 0109397                          
======================================================================




More information about the asterisk-bugs mailing list