[asterisk-bugs] [Asterisk 0019053]: [patch] Chan_local crashes in fixup

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 3 16:38:00 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19053 
====================================================================== 
Reported By:                oej
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   19053
Category:                   Channels/chan_local
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.17.2 
JIRA:                       SWP-3296 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1158/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-04-01 09:02 CDT
Last Modified:              2011-05-03 16:37 CDT
====================================================================== 
Summary:                    [patch] Chan_local crashes in fixup
Description: 
The "don't bridge to myself" patch assumes that both p->owner and p->chan
exists, which may not be the case. During testing, our Asterisk crashed
when p->chan was NULL and p->chan->bridge of course did not exist in this
universe.
====================================================================== 

---------------------------------------------------------------------- 
 (0134370) svnbot (reporter) - 2011-05-03 16:37
 https://issues.asterisk.org/view.php?id=19053#c134370 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 316330

_U  branches/1.8/
U   branches/1.8/channels/chan_local.c

------------------------------------------------------------------------
r316330 | dvossel | 2011-05-03 16:37:59 -0500 (Tue, 03 May 2011) | 24
lines

Merged revisions 316329 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r316329 | dvossel | 2011-05-03 16:29:55 -0500 (Tue, 03 May 2011) | 17
lines
  
  Merged revisions 316328 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r316328 | dvossel | 2011-05-03 16:27:59 -0500 (Tue, 03 May 2011) | 10
lines
    
    Fixes chan_local crashs in local_fixup()
    
    Thanks OEJ for tracking down the issue and submitting the patch.
    
    (closes issue https://issues.asterisk.org/view.php?id=19053)
    Reported by: oej
    Tested by: oej
    
    Review: https://reviewboard.asterisk.org/r/1158/
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 16:37 svnbot         Checkin                                      
2011-05-03 16:37 svnbot         Note Added: 0134370                          
======================================================================




More information about the asterisk-bugs mailing list