[asterisk-bugs] [LibPRI 0017968]: [patch] Libpri crashes when receiving Message Type (100)

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 14 13:27:11 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17968 
====================================================================== 
Reported By:                gelo
Assigned To:                
====================================================================== 
Project:                    LibPRI
Issue ID:                   17968
Category:                   General
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.35 
JIRA:                        
libpri Version:             1.4.11.3 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2010-09-08 10:33 CDT
Last Modified:              2010-10-14 13:27 CDT
====================================================================== 
Summary:                    [patch] Libpri crashes when receiving Message Type
(100)
Description: 
Production system, with a 2 PRI card.

Installed last week, we have had two segfaults, same symptoms:

syslog:
Sep  7 11:13:13 gwensa kernel: [15316.468308] asterisk[2716]: segfault at
30 ip b7a5ed82 sp b7a4e1f0 error 4 in libpri.so.1.4[b7a50000+47000]

messages:
[Sep  7 11:13:13] ERROR[2716] chan_dahdi.c: !! Don't know how to
pre-handle message type Unknown Message Type (100)
[Sep  7 11:13:13] ERROR[2716] chan_dahdi.c: !! Don't know how to
post-handle message type Unknown Message Type (100)

After the latter messages, Asterisk crashes.
====================================================================== 

---------------------------------------------------------------------- 
 (0128041) rmudgett (administrator) - 2010-10-14 13:27
 https://issues.asterisk.org/view.php?id=17968#c128041 
---------------------------------------------------------------------- 
The unknown message 100 is the REGISTER message.  This message is handled
in the libpri 1.4.12-beta versions to support the call completion
supplementary services.

The issue_17968_v1.4.patch is against the 1.4 branch.
The issue_17968_v1.4.11.4.patch is against libpri v1.4.11.4.

The patch files correct the double free of a call record when receiving an
unsupported/unknown message type. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-14 13:27 rmudgett       Note Added: 0128041                          
======================================================================




More information about the asterisk-bugs mailing list