[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:30:04 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15751 
====================================================================== 
Reported By:                atis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15751
Category:                   CDR/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 213216 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-20 11:48 CDT
Last Modified:              2009-08-20 15:30 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.


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

---------------------------------------------------------------------- 
 (0109393) svnbot (reporter) - 2009-08-20 15:30
 https://issues.asterisk.org/view.php?id=15751#c109393 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 213327

U   trunk/main/features.c

------------------------------------------------------------------------
r213327 | mnicholson | 2009-08-20 15:30:04 -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=213327 

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




More information about the asterisk-bugs mailing list