[asterisk-bugs] [Asterisk 0015103]: [patch] At the end of an attended transfered, on hangup, Asterisk crashes.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 14 16:25:04 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15103 
====================================================================== 
Reported By:                lmsteffan
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15103
Category:                   Features/Parking
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!): 194424 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-13 22:00 CDT
Last Modified:              2009-05-14 16:25 CDT
====================================================================== 
Summary:                    [patch] At the end of an attended transfered, on
hangup, Asterisk crashes.
Description: 
The crash occurs after the following sequence of actions :

A calls B, B puts A on hold and calls C, then B transfers the call from A
to C (and hangups). C talks with A. When C hangs up, Asterisk crashes with
a message "ERROR[4596] astobj2.c: user_data is NULL". Debugger shows that
this message is followed by a segmentation error.

The cause of this unseemly behaviour is a pointer first initialized to
NULL, then not modified when it should due to an assignement that has
become an equality. The included patch corrects this.

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

---------------------------------------------------------------------- 
 (0104784) svnbot (reporter) - 2009-05-14 16:25
 https://issues.asterisk.org/view.php?id=15103#c104784 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 194478

_U  branches/1.6.2/

------------------------------------------------------------------------
r194478 | russell | 2009-05-14 16:25:03 -0500 (Thu, 14 May 2009) | 14
lines

Blocked revisions 194477 via svnmerge

........
r194477 | russell | 2009-05-14 16:24:17 -0500 (Thu, 14 May 2009) | 7 lines

Fix a typo where an equality check should be an assignment.

(closes issue https://issues.asterisk.org/view.php?id=15103)
Reported by: lmsteffan
Patches:
      transfer_crash.patch uploaded by lmsteffan (license 779)

........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-14 16:25 svnbot         Checkin                                      
2009-05-14 16:25 svnbot         Note Added: 0104784                          
======================================================================




More information about the asterisk-bugs mailing list