Summary: | ASTERISK-14124: [patch] At the end of an attended transfered, on hangup, Asterisk crashes. | ||
Reporter: | Laurent Steffan (lmsteffan) | Labels: | |
Date Opened: | 2009-05-13 22:00:06 | Date Closed: | 2009-05-14 16:25:04 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Features/Parking |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) transfer_crash.patch | |
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. | ||
Comments: | By: Digium Subversion (svnbot) 2009-05-14 16:24:25 Repository: asterisk Revision: 194477 U trunk/main/features.c ------------------------------------------------------------------------ r194477 | russell | 2009-05-14 16:24:24 -0500 (Thu, 14 May 2009) | 7 lines Fix a typo where an equality check should be an assignment. (closes issue ASTERISK-14124) Reported by: lmsteffan Patches: transfer_crash.patch uploaded by lmsteffan (license 779) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=194477 By: Digium Subversion (svnbot) 2009-05-14 16:25:04 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 ASTERISK-14124) Reported by: lmsteffan Patches: transfer_crash.patch uploaded by lmsteffan (license 779) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=194478 |