[asterisk-bugs] [Asterisk 0019296]: chan_sip crashes since changes in rev. 318549

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 15 12:08:27 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19296 
====================================================================== 
Reported By:                Netview
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19296
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1101/ 
https://reviewboard.asterisk.org/r/1207/ 
https://reviewboard.asterisk.org/r/1210/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 318549 
Request Review:              
====================================================================== 
Date Submitted:             2011-05-14 02:44 CDT
Last Modified:              2011-05-15 12:08 CDT
====================================================================== 
Summary:                    chan_sip crashes since changes in rev. 318549
Description: 
I use Grandstream phones like gxp2000/2020 with hints. Now, after 318549
applied hints are rejected: 

chan_sip.c:23653 handle_request_subscribe: Sending fake auth rejection for
device "asterisk" <sip:gxp2000 at asterisk.mydomain.de>;tag=323a74e9f74cb2ce

If 'subscribecontext=' is set under peer, chan_sip crashes if the phones
requests hint-updates.
====================================================================== 

---------------------------------------------------------------------- 
 (0134941) irroot (reporter) - 2011-05-15 12:08
 https://issues.asterisk.org/view.php?id=19296#c134941 
---------------------------------------------------------------------- 
ok thx for the feedback i have now replaced the "hack" patch with a better
solution please verify it if you could ....

basically check for null before unref this still works for me ... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-15 12:08 irroot         Note Added: 0134941                          
======================================================================




More information about the asterisk-bugs mailing list